我想在 VS 2019 中構建一個預先撰寫的 C# 代碼。代碼已經構建,但我只有一個 .pdb 檔案,而不是一個 .gh 檔案(一個 Grasshopper 組件)。請您檢查以下文字并告訴我,構建程序中是否有問題?我該如何解決?
1>------ Build started: Project: Pavillion2015, Configuration: Debug64 Any CPU ------
1>D:\HEXAGONAL\New folder\Pavilion2015_ITECH-master\Pavillion2015\Pavillion\GHC_PointDistributor.cs(207,21,207,57): warning CS0618: 'Curve.Contains(Point3d)' is obsolete: 'Use version that takes a tolerance'
1>D:\HEXAGONAL\New folder\Pavilion2015_ITECH-master\Pavillion2015\Pavillion\GHC_PointsToMesh2.cs(209,29,209,46): warning CS0618: 'Curve.Contains(Point3d)' is obsolete: 'Use version that takes a tolerance'
1>D:\HEXAGONAL\New folder\Pavilion2015_ITECH-master\Pavillion2015\Pavillion\GHC_PointsToMesh.cs(197,29,197,46): warning CS0618: 'Curve.Contains(Point3d)' is obsolete: 'Use version that takes a tolerance'
1>D:\HEXAGONAL\New folder\Pavilion2015_ITECH-master\Pavillion2015\Pavillion\GHC_PointsToMesh.cs(204,25,204,42): warning CS0618: 'Curve.Contains(Point3d)' is obsolete: 'Use version that takes a tolerance'
1>D:\HEXAGONAL\New folder\Pavilion2015_ITECH-master\Pavillion2015\Pavillion\GHC_PointDistributor2.cs(221,21,221,73): warning CS0618: 'Curve.Contains(Point3d, Plane)' is obsolete: 'Use version that takes a tolerance'
1>D:\HEXAGONAL\New folder\Pavilion2015_ITECH-master\Pavillion2015\Pavillion\GHC_MeshRelaxer.cs(47,19,47,28): warning CS0414: The field 'GHC_MeshRelaxer.stopwatch' is assigned but its value is never used
1>D:\HEXAGONAL\New folder\Pavilion2015_ITECH-master\Pavillion2015\Gene-UpdatedCode\GHC_TriLoopDoubleLayer2.cs(33,23,33,36): warning CS0414: The field 'GHC_TriLoopDoubleLayer2.bottomCentres' is assigned but its value is never used
1>D:\HEXAGONAL\New folder\Pavilion2015_ITECH-master\Pavillion2015\Pavillion\GHC_PointDistributor.cs(18,14,18,32): warning CS0414: The field 'GHC_PointDistributor.iAddPointsManually' is assigned but its value is never used
1>D:\HEXAGONAL\New folder\Pavilion2015_ITECH-master\Pavillion2015\Pavillion\GHC_PointDistributor2.cs(18,14,18,32): warning CS0414: The field 'GHC_PointDistributor2.iAddPointsManually' is assigned but its value is never used
1>D:\HEXAGONAL\New folder\Pavilion2015_ITECH-master\Pavillion2015\Gene-UpdatedCode\GHC_TriLoopDoubleLayer2.cs(32,23,32,33): warning CS0414: The field 'GHC_TriLoopDoubleLayer2.topCentres' is assigned but its value is never used
1> Pavillion2015 -> D:\HEXAGONAL\New folder\Pavilion2015_ITECH-master\Pavillion2015\bin\Pavillion2015.dll
1> The system cannot find the path specified.
1> 0 file(s) copied.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========```
uj5u.com熱心網友回復:
雙擊解決方案資源管理器中的“屬性”并導航到“構建事件”
如圖所示放入目標檔案路徑。這將為您提供 Build 檔案夾中的 .gha 檔案
您發布的訊息顯示您的構建已完成。可能只是沒有設定這個。

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/451531.html
上一篇:我們可以有一個條件來比較int和string資料型別嗎?
下一篇:CMake:如何防止64位構建?
