- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Has anyone else run into this issue? I'm in the process of finally updating my Addins for 2016/2017 and thought I would take the opportunity to also move my projects to Visual Studio 2015 so I could take advantage of some of the new C# 6 language features.
As seen in this post (parameter.get_Units() vs. parameter.Units) the Inventor interop doesn't always line up nicely with C#. Using Visual Studio 2015 the same issue still exists. However even though the project compiles fine it throws a member not found exception when trying to resolve parameter.get_Units() method. The CommandType enum also sometimes shows an error in the editor but compiles ok. Reverted back to VS 2013 and the same code works fine. I know the VS uses the new Roslyn C# compiler so I'm wondering if it's something to do with that or if it's something with my .NET installation.
Jaytek Development
Inventor Addins
ilxButton Panel (Adds buttons for Parameters and iLogic Rules to the Ribbon and Inventor UI)
FlowTools for Inventor (Suite of Utilities and Tools)
Solved! Go to Solution.