
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I downloaded the beta because I got an e-mail from Autodesk urging me to start the 2017 migration process.
Compiling against the new dll's caused a lot of errors that made no sense, so I started a simple project from scratch in VS 2013, framework 4.5
Created a class library that refers RevitAPI.dll and RevitAPIUI.dll, added a few lines of code to see if it compiles. That's all
When I use the 2016 dll's this compiles fine, but when I use the 2017 dll's I get errors, see below
Does this relate to the .Net framework (target framework) I am using?
Do I need to migrate to 2015 for this?
I could not find any documents online yet for this, maybe I overlooked something
Error 50 The type or namespace name 'IExternalCommand' could not be found (are you missing a using directive or an assembly reference?) C:\development\vs2013\BIMHelpers 2015\CSharp projecten\APITest\BHTest.cs 14 27 APITest
Error 51 The type or namespace name 'Result' could not be found (are you missing a using directive or an assembly reference?) C:\development\vs2013\BIMHelpers 2015\CSharp projecten\APITest\BHTest.cs 16 16 APITest
Error 52 The type or namespace name 'ExternalCommandData' could not be found (are you missing a using directive or an assembly reference?) C:\development\vs2013\BIMHelpers 2015\CSharp projecten\APITest\BHTest.cs 16 31 APITest
Solved! Go to Solution.