If you are running the project via "pressing F5", you may try running the "ReCreateCommands.reg" file in the same directory location as the project file. Occasionally, if I change an interface in my code I need to run this file after compiling the project.
Read the "Note:" at: <ms-help://MS.VSCC/MS.MSDNVS/vsintro7/html/vxconControllingCommands.htm> HTH, -Chris -----Original Message----- From: Sills, Adam [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 9:40 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Creating Add-In for VS.NET How is it not running? You're pressing F5 (or clicking the Run command) and it's not doing anything? Are you sure your Addin is loaded in VS.NET (you can tell in the addin manager). I've found many times (moreso in Beta2 than RTM version) that there would be an error in my code and VS.NET would stop "liking" my addin. I would either have to run devenv /setup from the command line, or follow the instructions in the comments in your Connect.cs that are generated for you that describe how to get it back. At the very least, if you install a debug version of your addin, you /should/ be able to attach to the devenv.exe process and debug it that way. Adam.. -----Original Message----- From: Mike Best [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 7:58 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Creating Add-In for VS.NET Hello all, I'm trying to build an add-in for VS.NET, but seem to be missing something. I cant enable debugging for the add-in code. The only way I can get it to run is to compile the add-in, install it, then run it from the IDE. But of course, at this point I'm running compiled code, so I can't step through the code. For a very simple add-in (as shown in the various MSDN examples) this might be OK. But for code of any complexity, this is a show-stopper. Any ideas on how to debug an add-in? Comments or links would be greatly appreciated. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.