Revit does not launch while debuggin

Revit does not launch while debuggin

Anonymous
Not applicable
1,032 Views
5 Replies
Message 1 of 6

Revit does not launch while debuggin

Anonymous
Not applicable

Dear All,

 

I am new to Revit API and currently going through My First Plug-In Training: Lesson 4: Debuggin your code. I work on my MSc thesis and I am going to use the Revit API to some extent.

 

However, I have a problem which is:

My Revit 2017 does not launch till the end when I click "Start Debuggin" in Visual Studio 2015. I have done everything described in lesson 4 of My First Plug-In Training, namely:

- inserted two additional lines to the file .csproj with a proper patch to my Revit.exe

- changed the patch to my debug .dll in the AddIn Manifest

 

What do I mean by "does not launch till the end"? Revit is opening (you can see this picture of Revit which is shown every time you launch it), but after a while it is shutting down and on Visual Studio's status bar there is written "Ready". Nothing else happens.

 

To be clearer about it, I have recorded a video portraying the problem:

 

I have exactly the same problem when I want to debug any plug-in by the "Revit 2017 Add-in Wizard" downloaded from http://thebuildingcoder.typepad.com

 

Thank you for any help!

 

Regards,

Maciej

 

0 Likes
Accepted solutions (1)
1,033 Views
5 Replies
Replies (5)
Message 2 of 6

jeremytammik
Autodesk
Autodesk
Accepted solution
Message 3 of 6

Anonymous
Not applicable

Thank you! It's been very helpful.

 

Best regards,

Maciej

0 Likes
Message 4 of 6

OR_AND_NO
Advocate
Advocate

Dear Jeremy could You please help me with VS 2017 debug otptions - i till cant start revit form VS2017 in debug mode  

0 Likes
Message 5 of 6

jeremytammik
Autodesk
Autodesk

Various question on that popped up here in the past, and the discussion I point to above and related solutions seems to have addressed them all.

 

Please read the article and search this forum for the similar issues raised and solved.

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 6 of 6

OR_AND_NO
Advocate
Advocate

Thanks!!!

0 Likes