'Visual Studio 2022 Extension Context Menu GUID
I have written a vsix extension for VS 2022. I want my command to be available in the context menus for the code editor and on the .xaml editor. I have gotten the menu appearing for code window by using this guid:
Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_CODEWIN"
I have not managed to find the correct guid to replace "IDM_VS_CTXT_CODEWIN" for the .xaml editor. This link:
lists Guid for context menus but I can't see one for the design editor. Currently I am getting around this by adding it to the tool menu and checking if the document extension is .xaml and posting an error message if the file extension is incorrect. It would be nicer if the command was only available on the designer context menu.
Does anyone know if there is a context menu guid for the .xaml editor?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
