http://blogs.clariusconsulting.net/pga

Pablo Galiano's Blog

Go Back to
pga′s Latest post

Visual Studio guids

As we already know, almost every Visual Studio component has unique identifier (GUID). This post will try to summarize the list of most commonly used guids and the classes where they are defined, so we don’t end up hardcoding guids in our code.

 

Menus

Microsoft.VisualStudio.Shell.VsMenus, Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0

 

Commands


Microsoft.VisualStudio.VSConstants.VSStd2KCmdID, Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0

Microsoft.VisualStudio.VSConstants.VSStd97CmdID, Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0

 

Project kinds

VSLangProj.PrjKind, VSLangProj, Version=7.0.3300.0

VSLangProj2.PrjKind2, VSLangProj2, Version=7.0.5000.0

 

Project item kinds

EnvDTE.Constants.vsProjectItemKindMisc, EnvDTE, Version=8.0.0.0

EnvDTE.Constants.vsProjectItemKindPhysicalFile, EnvDTE, Version=8.0.0.0

EnvDTE.Constants.vsProjectItemKindPhysicalFolder, EnvDTE, Version=8.0.0.0

EnvDTE.Constants.vsProjectItemKindSolutionItems, EnvDTE, Version=8.0.0.0

EnvDTE.Constants.vsProjectItemKindSubProject, EnvDTE, Version=8.0.0.0

EnvDTE.Constants.vsProjectItemKindVirtualFolder, EnvDTE, Version=8.0.0.0

 

Logical views

Microsoft.VisualStudio.Shell.Interop.LogicalViewID, Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0

 

Output window panes

Microsoft.VisualStudio.VSConstants.GUID_BuildOutputWindowPane, Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0

Microsoft.VisualStudio.VSConstants.GUID_OutWindowDebugPane, Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0

Microsoft.VisualStudio.VSConstants.GUID_OutWindowGeneralPane, Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0

 

Toolwindows

Microsoft.VisualStudio.Shell.Interop.ToolWindowGuids, Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0

Microsoft.VisualStudio.Shell.Interop.ToolWindowGuids80, Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0

 

Contexts

Microsoft.VisualStudio.Shell.Interop.UIContextGuids, Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0

Microsoft.VisualStudio.Shell.Interop.UIContextGuids80, Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0

VSLangProj80.vsContextGuids, VSLangProj80, Version=8.0.0.0

 

PS:

I will continue updating this post when I remember new ones. I will use this post to list every useful guid that I know. Also if you have other ones please send me a comment.

 

Hope this helps,

Pablo

Comments