Thursday, January 1, 2015

Getting Revit to start while debugging API apps with Visual Studio 2013

To debug Revit API apps with Visual Studio 2013, one has to start Revit 2015 and then run the DLL created.

Out of the box, one will get this crash of Revit before Revit even gets open:

As indicated in Jeremy Tammik's blog, the answer is to switch to managed compatibility mode.

Thence, Revit will start as expected under Visual Studio's debugger.

No comments:

Post a Comment