Vs.Net Add-in
-
Hi, I'm trying to write visual studio add-in. I want to have toolbar with my own icons so I use this:
commands.AddNamedCommand(addInInstance,"MyCmd","MyCmd","Decription",true,1,ref cntG,(int)vsCommandStatus.vsCommandStatusSupported+(int)vsCommandStatus.vsCommandStatusEnabled);
But this code throwsNullReferenceException
:(. I addedSatelliteDLLName
andSatelliteDLLPath
keys to registry. File SatelliteDLLPath\SatelliteDLLName exists and it contains bitmap 16x16 with number1
. I've done exactly:~ same thing before and it works, but now it doesn't. <edit> I created new project with new satellite dll and now it throws: COMException: Unspecified error </edit> Thank you for any help :(( i'm only pointer to myself -
Hi, I'm trying to write visual studio add-in. I want to have toolbar with my own icons so I use this:
commands.AddNamedCommand(addInInstance,"MyCmd","MyCmd","Decription",true,1,ref cntG,(int)vsCommandStatus.vsCommandStatusSupported+(int)vsCommandStatus.vsCommandStatusEnabled);
But this code throwsNullReferenceException
:(. I addedSatelliteDLLName
andSatelliteDLLPath
keys to registry. File SatelliteDLLPath\SatelliteDLLName exists and it contains bitmap 16x16 with number1
. I've done exactly:~ same thing before and it works, but now it doesn't. <edit> I created new project with new satellite dll and now it throws: COMException: Unspecified error </edit> Thank you for any help :(( i'm only pointer to myselfX| :mad: I didn't placed satellite dll to 1033 folder (but i think, that first time I was doing this it works without placing dll to this folder). i'm only pointer to myself