- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to generate a proper VB.NET project in Visual Studio for making custom subassemblies but I can't find the reason regarding the following anomaly (I'm just testing the method with the sample files):
I made a copy of the "...\Sample\Civil 3D API\C3DstockSubAssemblies" folder and opened the "C3DStockSubassemblies" project file. The .vb files there have no issues (0 errors, 0 warnings).
But when I made a brand new project with the same options and same references and same .vb files I got a bunch of errors and some warnings.
Do you have any idea what is the reason of that?
The Visual Studio helped me out that for example the "Imports Autodesk.Civil.Runtime" line fixes the "'CorridorState' is not defined" error but I'm still curious what is the difference between the sample project file and the created one. The vb scripts of the sample project file don't include the "Imports Autodesk.Civil.Runtime" line and work well...
Solved! Go to Solution.