TFS 2010 – Build menu ids and guids


Okay, so I wrote a post a couple of weeks ago and exposed two of the menu guids for Build. Since then I have been asked for others, so here they all are…

Menu Guid (we use the same guid for all build menus):  

  • {34586048-8400-472e-BBBF-3AE30AF8046E}

Menu Ids (in hex): 

  • int menuTEBuilds = 0x100;
    • This menu is for the Team Explorer “Builds” Node.
  • int menuTEDefinition = 0x102;
    • This menu is for the Team Explorer Build Definition Nodes (under the Builds Node).
  • int menuTEAllDefinitions = 0x103;
    • This menu is for the Team Explorer “All Build Definitions” Node.
  • int menuBuildExplorer = 0x105;
    • This menu is for the Build Explorer. It shows up when you right click on a completed build.
  • int menuQueueExplorer = 0x108;
    • This menu is for the Build Explorer. It shows up when you right click on queued builds (or what we like to call Build Requests).

Hopefully, this is enough to get you started!

Comments (4)

  1. Visual Studio 2012 says:

    Jason, Thanks for posting those. Do you have the new ones for VS 2012?

  2. None of these have changed since this post. So, you should be able to use these. Let me know if they don't work.

    Jason

  3. Wesam Abdallah says:

    menuTEAllDefinitions doesnt work :/

  4. Sorry for the misinformation. menuTEAllDefinitions doesn't exist any more. That was for the Root node in the Team Explorer hierarchy. I think what you want is menuTEDefinition.

    Good luck,

    Jason

Skip to main content