- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am observing a strange behavior. My IExternalApplication loads correctly and configures the buttons on the ribbon when I run it in Debug mode, by starting Revit as an external program from Visual Studio. At the compile time, the files are copied automatically into the Addin folder. When I close the Visual Studio and start Revit from a shortcut the app crashes when it tries to add a button to a ribbon. The contents of the Addin folder is the same. I have checked that both VS and the desktop icon point to the same Revit.exe. What could be the difference in running an app in debug mode versus standalone Revit?
Additional information: I do use Managed Compatibility Mode in Visual Studio debug settings.
Solved! Go to Solution.