A few years ago I developed an VB.NET Inventor Addin using the template file supplied with the SKD from Inventor 2016. I think at that time I had to use Visual Studio 2012/2013 since the SKD's addin template wasn't made for Visual Studio 2015/2017.
In the locals window, I noticed that the several values were showing up as "{System.__ComObject}". I searched for a fix for this and found one. The fix was to go into the Visual Studio Debug settings and enable "Use Managed Compatibility Mode."
Enabling that setting fixed how the values were showing up and made debugging faster and easier.
I recently switched to using Visual Studio 2022, and the "Use Managed Compatibility Mode" setting was removed (deprecated). Now all of the values are showing as as {System.__ComObject} again.
How do I get the values to show up the way they use to using the "Use Managed Compatibility Mode" setting? Would a newer Inventor SDK have a new template that would fix this issue?
I have tried enabling "Native Code Debugging", but I get a "rse.pdb not loaded" error. I'm not sure if trying to enable this is even a good approach.
Has anybody ran into this upgrading to visual studio 2022?
Solved! Go to Solution.
Solved by JelteDeJong. Go to Solution.
Have a look at this thread. I tried the solution proposed solution. (adding <DebugEngines>{351668CC-8477-4fbf-BFE3-5F1006E4DB1F}</DebugEngines> to your project file.)
and it works for me.
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com
.
Can't find what you're looking for? Ask the community or share your knowledge.