Thursday, March 22, 2018

Debugging Revit Add-ins During Application Development

From the archi+lab website:

debugging revit add-ins

By Konrad K Sobon

March, 22 2018


Ok, so I always hear people complain, that writing Revit Addins is horrible because it takes forever to debug them. You know, that spiel about having to restart Revit, every time you make a change to your code. Well, the thing is that there was a solution to it out there for A LONG TIME. I am not sure why more people don’t use it, but it’s been talked about by people like Jeremy Tammik (Link) in 2011 and later by Matteo Cominetti (Link) in 2013. The point is that this has been out there for a while, and makes debugging Revit addins quite easy. Now this method runs a little contrary to something that I have posted a while ago about Post Build Commands and copying DLLs to Revit Addins folders automatically: Link

If you are going to follow this method, you should not be using the Post Build events. Let me explain the steps and you will see why...

Read more on the archi+lab website »

No comments: