Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

VSX 2012: Troubleshoot MenuItemCallback in package

$
0
0

Hi

I have a package which runs fine on my local pc in both debug and as an installed package (danish language / windows 7 64-bit)

On another box with US english I can see my options page and the menuitem in the short cut menu
But the package does not run neither in debug or as an installed package (english language but danish locales / 2008 R2 64-bit)

What steps do I need to do in order to troubleshoot this?

Source

OleMenuCommandService mcs = 
GetService(typeof(IMenuCommandService)) as OleMenuCommandService;

if ( null != mcs ) { // Create the command for the menu item. CommandID menuCommandID = new CommandID( Guids.guidCodeGeneratorCmdSet, (int)PkgCmdIDList.cmdidGenerateUnitTest ); MenuCommand menuItem = new MenuCommand(MenuItemCallback, menuCommandID ); mcs.AddCommand( menuItem ); }


Thanks  /Peter




Viewing all articles
Browse latest Browse all 4410

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>