vs.net add-in problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I created an add-in and i have a problem. When i debug it does not show up
on the tool menu.

I am not sure where to go from here. Any ideas?

thx
dave
 
Debugging addins are a bit of a pain.

You need to do the following:

#1 UNINSTALL your addin
#2 run Visual Studio and load the AddIn project.
#3 In the addin constructor or connect method pop up a message box saying
something like "Attach debugger now"
#4 INSTALL your addin
#5 run a SECOND COPY of Visual Studio. When the message box shows...
#6 Attach the debugger to the second copy of DevEnv.exe
#7 Dismiss the message box

Breakpoints in the AddIn code will now work and the addin will be shown in
the tools menu of the second copy.

Good luck. I just spent a few weeks doing this. It isn't pretty.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
Back
Top