One of the things that confused me about the attributes used to decorate a Visual Studio were the hardcoded guids in the examples. I didn't know where they came from or what I could use. In fact, I had the impression I had to generate my own guid for each definition like how you need to assign one for an editor factory.
It turns out that these are defined guids that you must use for certain activities. They're defined in Microsoft.VisualStudio.VSConstants as static readonly. Like String.Empty, this means you can't use them in an attribute decoration and is why you see string literals instead. Since I couldn't find a list of the actual guids, and I needed them, I wrote a quick console app to retrieve them from the VSConstants class. I then placed them in constant, string form in my own class. Here they are in case you need them as well.
internal class VSGuidStrings
{
public const string IID_IUnknown = "00000000-0000-0000-c000-000000000046";
public const string GUID_VSStandardCommandSet97 = "5efc7975-14bc-11cf-9b2b-00aa00573819";
public const string VSStd2K = "1496a755-94de-11d0-8c3f-00c04fc2aae2";
public const string GUID_VsUIHierarchyWindowCmds = "60481700-078b-11d1-aaf8-00a0c9055a90";
public const string CLSID_HtmDocData = "62c81794-a9ec-11d0-8198-00a0c91bbee3";
public const string CLSID_HtmedPackage = "1b437d20-f8fe-11d2-a6ae-00104bcc7269";
public const string CLSID_HtmlLanguageService = "58e975a0-f8fe-11d2-a6ae-00104bcc7269";
public const string GUID_HtmlEditorFactory = "c76d83f8-a489-11d0-8195-00a0c91bbee3";
public const string GUID_TextEditorFactory = "8b382828-6202-11d1-8870-0000f87579d2";
public const string GUID_HTMEDAllowExistingDocData = "5742d216-8071-4779-bf5f-a24d5f3142ba";
public const string CLSID_VsEnvironmentPackage = "da9fb551-c724-11d0-ae1f-00a0c90fffc3";
public const string GUID_VsNewProjectPseudoFolder = "dcf2a94a-45b0-11d1-adbf-00c04fb6be4c";
public const string CLSID_MiscellaneousFilesProject = "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3";
public const string CLSID_SolutionItemsProject = "d1dcdb85-c5e8-11d2-bfca-00c04f990235";
public const string SID_SVsGeneralOutputWindowPane = "65482c72-defa-41b7-902c-11c091889c83";
public const string SID_SUIHostCommandDispatcher = "e69cd190-1276-11d1-9f64-00a0c911004f";
public const string CLSID_VsUIHierarchyWindow = "7d960b07-7af8-11d0-8e5e-00a0c911005a";
public const string GUID_DefaultEditor = "6ac5ef80-12bf-11d1-8e9b-00a0c911005a";
public const string GUID_ExternalEditor = "8137c9e8-35fe-4af2-87b0-de3c45f395fd";
public const string GUID_BuildOutputWindowPane = "1bd8a850-02d1-11d1-bee7-00a0c913d1f8";
public const string GUID_OutWindowDebugPane = "fc076020-078a-11d1-a7df-00a0c9110051";
public const string GUID_OutWindowGeneralPane = "3c24d581-5591-4884-a571-9fe89915cd64";
public const string BuildOrder = "2032b126-7c8d-48ad-8026-0e0348004fc0";
public const string BuildOutput = "1bd8a850-02d1-11d1-bee7-00a0c913d1f8";
public const string DebugOutput = "fc076020-078a-11d1-a7df-00a0c9110051";
public const string GUID_ItemType_PhysicalFile = "6bb5f8ee-4483-11d3-8bcf-00c04f8ec28c";
public const string GUID_ItemType_PhysicalFolder = "6bb5f8ef-4483-11d3-8bcf-00c04f8ec28c";
public const string GUID_ItemType_VirtualFolder = "6bb5f8f0-4483-11d3-8bcf-00c04f8ec28c";
public const string GUID_ItemType_SubProject = "ea6618e8-6e24-4528-94be-6889fe16485c";
public const string GUID_BrowseFilePage = "2483f435-673d-4fa3-8add-b51442f65349";
public const string guidCOMPLUSLibrary = "1ec72fd7-c820-4273-9a21-777a5c522e03";
public const string CLSID_ComPlusOnlyDebugEngine = "449ec4cc-30d2-4032-9256-ee18eb41b62b";
public const string GUID_VS_DEPTYPE_BUILD_PROJECT = "707d11b6-91ca-11d0-8a3e-00a0c91e2acd";
public const string GUID_ProjectDesignerEditor = "04b8ab82-a572-4fef-95ce-5222444b6b64";
public const string UICONTEXT_SolutionBuilding = "adfc4e60-0397-11d1-9f4e-00a0c911004f";
public const string UICONTEXT_Debugging = "adfc4e61-0397-11d1-9f4e-00a0c911004f";
public const string UICONTEXT_Dragging = "b706f393-2e5b-49e7-9e2e-b1825f639b63";
public const string UICONTEXT_FullScreenMode = "adfc4e62-0397-11d1-9f4e-00a0c911004f";
public const string UICONTEXT_DesignMode = "adfc4e63-0397-11d1-9f4e-00a0c911004f";
public const string UICONTEXT_NoSolution = "adfc4e64-0397-11d1-9f4e-00a0c911004f";
public const string UICONTEXT_SolutionExists = "f1536ef8-92ec-443c-9ed7-fdadf150da82";
public const string UICONTEXT_EmptySolution = "adfc4e65-0397-11d1-9f4e-00a0c911004f";
public const string UICONTEXT_SolutionHasSingleProject = "adfc4e66-0397-11d1-9f4e-00a0c911004f";
public const string UICONTEXT_SolutionHasMultipleProjects = "93694fa0-0397-11d1-9f4e-00a0c911004f";
public const string UICONTEXT_CodeWindow = "8fe2df1d-e0da-4ebe-9d5c-415d40e487b5";
public const string GUID_VsTaskListViewAll = "1880202e-fc20-11d2-8bb1-00c04f8ec28c";
public const string GUID_VsTaskListViewUserTasks = "1880202f-fc20-11d2-8bb1-00c04f8ec28c";
public const string GUID_VsTaskListViewShortcutTasks = "18802030-fc20-11d2-8bb1-00c04f8ec28c";
public const string GUID_VsTaskListViewHTMLTasks = "36ac1c0d-fe86-11d2-8bb1-00c04f8ec28c";
public const string GUID_VsTaskListViewCompilerTasks = "18802033-fc20-11d2-8bb1-00c04f8ec28c";
public const string GUID_VsTaskListViewCommentTasks = "18802034-fc20-11d2-8bb1-00c04f8ec28c";
public const string GUID_VsTaskListViewCurrentFileTasks = "18802035-fc20-11d2-8bb1-00c04f8ec28c";
public const string GUID_VsTaskListViewCheckedTasks = "18802036-fc20-11d2-8bb1-00c04f8ec28c";
public const string GUID_VsTaskListViewUncheckedTasks = "18802037-fc20-11d2-8bb1-00c04f8ec28c";
public const string CLSID_VsTaskList = "bc5955d5-aa0d-11d0-a8c5-00a0c921a4d2";
public const string CLSID_VsTaskListPackage = "4a9b7e50-aa16-11d0-a8c5-00a0c921a4d2";
public const string SID_SVsToolboxActiveXDataProvider = "35222106-bb44-11d0-8c46-00c04fc2aae2";
public const string CLSID_VsDocOutlinePackage = "21af45b0-ffa5-11d0-b63f-00a0c922e851";
public const string CLSID_VsCfgProviderEventsHelper = "99913f1f-1ee3-11d1-8a6e-00c04f682e21";
public const string GUID_COMPlusPage = "9a341d95-5a64-11d3-bff9-00c04f990235";
public const string GUID_COMClassicPage = "9a341d96-5a64-11d3-bff9-00c04f990235";
public const string GUID_SolutionPage = "9a341d97-5a64-11d3-bff9-00c04f990235";
public const string LOGVIEWID_Primary = "00000000-0000-0000-0000-000000000000";
public const string LOGVIEWID_Debugging = "7651a700-06e5-11d1-8ebd-00a0c90f26ea";
public const string LOGVIEWID_Code = "7651a701-06e5-11d1-8ebd-00a0c90f26ea";
public const string LOGVIEWID_Designer = "7651a702-06e5-11d1-8ebd-00a0c90f26ea";
public const string LOGVIEWID_TextView = "7651a703-06e5-11d1-8ebd-00a0c90f26ea";
public const string LOGVIEWID_UserChooseView = "7651a704-06e5-11d1-8ebd-00a0c90f26ea";
}