Updated WPF and UWP Edit Project menus.
This commit is contained in:
Родитель
e8ef6ce3a9
Коммит
52a5cc4499
|
@ -241,7 +241,7 @@ The below extensions may be useful when debugging changes to the Edit Project me
|
|||
* [Command Explorer](https://marketplace.visualstudio.com/items?itemName=MadsKristensen.CommandExplorer) for identifying Visual Studio Menu and Group IDs
|
||||
* [Component Diagnostics](https://marketplace.visualstudio.com/items?itemName=PaulHarrington.ComponentDiagnosticsDev17) for checking if the Menu package is registered properly in the Package Manager
|
||||
|
||||
Note: The Experimental Instance often doesn't recognize changes to the `.vsct` file which can result in the menu not showing up or UI changes not being reflected. Uninstalling all versions of the extension and [resetting the Experimental Instance](#Validating-changes) sometimes helps. The most reliable way to test menu changes is to build a Release build of the VSIX and install it into the main instance of Visual Studio.
|
||||
Note: The Experimental Instance often doesn't recognize changes to the `.vsct` file which can result in the menu not showing up or UI changes not being reflected. Running `. "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe" /RootSuffix Exp /setup` from PowerShell will trigger the Experimental Instance to rebuild its menus. If that doesn't work, then uninstalling all versions of the extension and [resetting the Experimental Instance](#Validating-changes) sometimes helps. The most reliable way to test menu changes is to build a Release build of the VSIX and install it into the main instance of Visual Studio.
|
||||
|
||||
## Localization
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<Menus>
|
||||
<Menu guid="guidTemplateStudioForUwpPackageCmdSet" id="AddItemContextMenu" type="Context" priority="0x0100">
|
||||
<Strings>
|
||||
<ButtonText>Template Studio for UWP</ButtonText>
|
||||
<ButtonText>New Item (Template Studio)</ButtonText>
|
||||
</Strings>
|
||||
</Menu>
|
||||
</Menus>
|
||||
|
@ -26,7 +26,7 @@
|
|||
<CommandFlag>DynamicVisibility</CommandFlag>
|
||||
<Icon guid="guidImages" id="bmpPage1" />
|
||||
<Strings>
|
||||
<ButtonText>New page...</ButtonText>
|
||||
<ButtonText>New Page...</ButtonText>
|
||||
</Strings>
|
||||
</Button>
|
||||
<Button guid="guidTemplateStudioForUwpPackageCmdSet" id="AddFeatureCommand" priority="0x0200" type="Button">
|
||||
|
@ -35,7 +35,7 @@
|
|||
<CommandFlag>DynamicVisibility</CommandFlag>
|
||||
<Icon guid="guidImages" id="bmpFeature1" />
|
||||
<Strings>
|
||||
<ButtonText>New feature...</ButtonText>
|
||||
<ButtonText>New Feature...</ButtonText>
|
||||
</Strings>
|
||||
</Button>
|
||||
<Button guid="guidTemplateStudioForUwpPackageCmdSet" id="AddServiceCommand" priority="0x0300" type="Button">
|
||||
|
@ -44,7 +44,7 @@
|
|||
<CommandFlag>DynamicVisibility</CommandFlag>
|
||||
<Icon guid="guidImages" id="bmpService" />
|
||||
<Strings>
|
||||
<ButtonText>New service...</ButtonText>
|
||||
<ButtonText>New Service...</ButtonText>
|
||||
</Strings>
|
||||
</Button>
|
||||
<Button guid="guidTemplateStudioForUwpPackageCmdSet" id="AddTestingCommand" priority="0x0400" type="Button">
|
||||
|
@ -53,7 +53,7 @@
|
|||
<CommandFlag>DynamicVisibility</CommandFlag>
|
||||
<Icon guid="guidImages" id="bmpTesting" />
|
||||
<Strings>
|
||||
<ButtonText>New testing project...</ButtonText>
|
||||
<ButtonText>New Test Project...</ButtonText>
|
||||
</Strings>
|
||||
</Button>
|
||||
<Button guid="guidTemplateStudioForUwpPackageCmdSet" id="OpenTempFolder" priority="0x0500" type="Button">
|
||||
|
@ -62,7 +62,7 @@
|
|||
<CommandFlag>DynamicVisibility</CommandFlag>
|
||||
<Icon guid="guidImages" id="bmpOpenTemp" />
|
||||
<Strings>
|
||||
<ButtonText>Open generation folder</ButtonText>
|
||||
<ButtonText>Open Generation Folder</ButtonText>
|
||||
</Strings>
|
||||
</Button>
|
||||
</Buttons>
|
||||
|
@ -88,12 +88,8 @@
|
|||
id="OpenTempFolder" context="guidTemplateStudioForUwpUIContext" />
|
||||
</VisibilityConstraints>
|
||||
<CommandPlacements>
|
||||
<CommandPlacement guid="guidTemplateStudioForUwpPackageCmdSet" id="AddItemContextGroup" priority="0x0200">
|
||||
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_PROJNODE" />
|
||||
</CommandPlacement>
|
||||
|
||||
<CommandPlacement guid="guidTemplateStudioForUwpPackageCmdSet" id="AddItemContextMenu" priority="0x0100">
|
||||
<Parent guid="guidTemplateStudioForUwpPackageCmdSet" id="AddItemContextGroup" />
|
||||
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJECT_ADD_ITEMS" />
|
||||
</CommandPlacement>
|
||||
|
||||
<CommandPlacement guid="guidTemplateStudioForUwpPackageCmdSet" id="AddItemContextMenuGroup" priority="0x0100">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<Menus>
|
||||
<Menu guid="guidTemplateStudioForWpfPackageCmdSet" id="AddItemContextMenu" type="Context" priority="0x0100">
|
||||
<Strings>
|
||||
<ButtonText>Template Studio for WPF</ButtonText>
|
||||
<ButtonText>New Item (Template Studio)</ButtonText>
|
||||
</Strings>
|
||||
</Menu>
|
||||
</Menus>
|
||||
|
@ -26,7 +26,7 @@
|
|||
<CommandFlag>DynamicVisibility</CommandFlag>
|
||||
<Icon guid="guidImages" id="bmpPage1" />
|
||||
<Strings>
|
||||
<ButtonText>New page...</ButtonText>
|
||||
<ButtonText>New Page...</ButtonText>
|
||||
</Strings>
|
||||
</Button>
|
||||
<Button guid="guidTemplateStudioForWpfPackageCmdSet" id="AddFeatureCommand" priority="0x0200" type="Button">
|
||||
|
@ -35,7 +35,7 @@
|
|||
<CommandFlag>DynamicVisibility</CommandFlag>
|
||||
<Icon guid="guidImages" id="bmpFeature1" />
|
||||
<Strings>
|
||||
<ButtonText>New feature...</ButtonText>
|
||||
<ButtonText>New Feature...</ButtonText>
|
||||
</Strings>
|
||||
</Button>
|
||||
<Button guid="guidTemplateStudioForWpfPackageCmdSet" id="AddServiceCommand" priority="0x0300" type="Button">
|
||||
|
@ -44,7 +44,7 @@
|
|||
<CommandFlag>DynamicVisibility</CommandFlag>
|
||||
<Icon guid="guidImages" id="bmpService" />
|
||||
<Strings>
|
||||
<ButtonText>New service...</ButtonText>
|
||||
<ButtonText>New Service...</ButtonText>
|
||||
</Strings>
|
||||
</Button>
|
||||
<Button guid="guidTemplateStudioForWpfPackageCmdSet" id="AddTestingCommand" priority="0x0400" type="Button">
|
||||
|
@ -53,7 +53,7 @@
|
|||
<CommandFlag>DynamicVisibility</CommandFlag>
|
||||
<Icon guid="guidImages" id="bmpTesting" />
|
||||
<Strings>
|
||||
<ButtonText>New testing project...</ButtonText>
|
||||
<ButtonText>New Test Project...</ButtonText>
|
||||
</Strings>
|
||||
</Button>
|
||||
<Button guid="guidTemplateStudioForWpfPackageCmdSet" id="OpenTempFolder" priority="0x0500" type="Button">
|
||||
|
@ -62,7 +62,7 @@
|
|||
<CommandFlag>DynamicVisibility</CommandFlag>
|
||||
<Icon guid="guidImages" id="bmpOpenTemp" />
|
||||
<Strings>
|
||||
<ButtonText>Open generation folder</ButtonText>
|
||||
<ButtonText>Open Generation Folder</ButtonText>
|
||||
</Strings>
|
||||
</Button>
|
||||
</Buttons>
|
||||
|
@ -88,12 +88,8 @@
|
|||
id="OpenTempFolder" context="guidTemplateStudioForWpfUIContext" />
|
||||
</VisibilityConstraints>
|
||||
<CommandPlacements>
|
||||
<CommandPlacement guid="guidTemplateStudioForWpfPackageCmdSet" id="AddItemContextGroup" priority="0x0200">
|
||||
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_PROJNODE" />
|
||||
</CommandPlacement>
|
||||
|
||||
<CommandPlacement guid="guidTemplateStudioForWpfPackageCmdSet" id="AddItemContextMenu" priority="0x0100">
|
||||
<Parent guid="guidTemplateStudioForWpfPackageCmdSet" id="AddItemContextGroup" />
|
||||
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJECT_ADD_ITEMS" />
|
||||
</CommandPlacement>
|
||||
|
||||
<CommandPlacement guid="guidTemplateStudioForWpfPackageCmdSet" id="AddItemContextMenuGroup" priority="0x0100">
|
||||
|
|
Загрузка…
Ссылка в новой задаче