forked from dotnet/project-system
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMenus.vsct
More file actions
276 lines (246 loc) · 13.5 KB
/
Copy pathMenus.vsct
File metadata and controls
276 lines (246 loc) · 13.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<?xml version="1.0" encoding="utf-8"?>
<CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- This is the file that defines the actual layout and type of the commands.
It is divided in different sections (e.g. command definition, command
placement, ...), with each defining a specific set of properties.
See the comment before each section for more details about how to
use it. -->
<!-- The VSCT compiler (the tool that translates this file into the binary
format that VisualStudio will consume) has the ability to run a preprocessor
on the vsct file; this preprocessor is (usually) the C++ preprocessor, so
it is possible to define includes and macros with the same syntax used
in C++ files. Using this ability of the compiler here, we include some files
defining some of the constants that we will use inside the file. -->
<!--This is the file that defines the IDs for all the commands exposed by VisualStudio. -->
<Extern href="stdidcmd.h" />
<!--This header contains the command ids for the menus provided by the shell. -->
<Extern href="vsshlids.h" />
<!--Definition of some VSCT specific constants. In this sample we use it for the IDs inside the guidOfficeIcon group. -->
<!--<Extern href="msobtnid.h" xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" />-->
<!-- This command is associated with the DebugTargetHandlerPackage as we want this package to handle our commands placed on the
debug (play button) menu controller. It will redirect through code to our implementation of IVsProjectCfgDebugTargetSelection
-->
<Commands package="guidDebugTargetHandlerPackage">
<Buttons>
<Button guid="guidManagedProjectSystemCommandSet" id="cmdidProjectDebugger" priority="0x1000" type="Button">
<Parent guid="guidDebugTargetHandlerPackage" id="DebugTargetMenuControllerGroup"/>
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DynamicItemStart</CommandFlag>
<CommandFlag>TogglePatternAvailable</CommandFlag>
<Strings>
<ButtonText>Web Debugger</ButtonText>
</Strings>
</Button>
</Buttons>
</Commands>
<Commands package="PackageGuidString">
<Menus>
<!-- Debugging Framework menu added to debug controller -->
<Menu guid="guidManagedProjectSystemCommandSet" id="DebugTargetMenuDebugFrameworkMenu" priority="0x00F1" type="Menu">
<Parent guid="guidDebugTargetHandlerPackage" id="DebugTargetMenuControllerFooterGroup"/>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Framework</ButtonText>
</Strings>
</Menu>
<Menu guid="guidManagedProjectSystemOrderCommandSet" id="AddAboveMenu" priority="0x300" type="Menu">
<Parent guid="guidManagedProjectSystemOrderCommandSet" id="OrderingGroup"/>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>&Add Above</ButtonText>
</Strings>
</Menu>
<Menu guid="guidManagedProjectSystemOrderCommandSet" id="AddBelowMenu" priority="0x305" type="Menu">
<Parent guid="guidManagedProjectSystemOrderCommandSet" id="OrderingGroup"/>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>&Add Below</ButtonText>
</Strings>
</Menu>
</Menus>
<Groups>
<!-- Group added to the Debugging Framework Type menu on the debug controller -->
<Group guid="guidManagedProjectSystemCommandSet" id="DebugTargetMenuDebugFrameworkGroup" priority="0x0100">
<Parent guid="guidManagedProjectSystemCommandSet" id="DebugTargetMenuDebugFrameworkMenu"/>
</Group>
<!-- Group added to transitive assembly references -->
<Group guid="guidSHLMainMenu" id="IDG_VS_CTXT_ITEM_OBJECTBROWSER" priority="0x0100">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_TRANSITIVE_ASSEMBLY_REFERENCE"/>
</Group>
<!-- Group added to transitive COM references -->
<Group guid="guidSHLMainMenu" id="IDG_VS_CTXT_ITEM_OBJECTBROWSER" priority="0x0100">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_COMREFERENCE"/>
</Group>
<!-- Group added to transitive project references -->
<Group guid="guidSHLMainMenu" id="IDG_VS_CTXT_ITEM_OBJECTBROWSER" priority="0x0100">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_PROJECTREFERENCE"/>
</Group>
<!-- This is the ordering group. Handles ordering files. -->
<Group guid="guidManagedProjectSystemOrderCommandSet" id="OrderingGroup" priority="0x100">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_ITEMNODE" />
</Group>
<Group guid="guidManagedProjectSystemOrderCommandSet" id="OrderingGroup" priority="0x100">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_FOLDERNODE" />
</Group>
<Group guid="guidManagedProjectSystemOrderCommandSet" id="AddAboveGroup" priority="0x101">
<Parent guid="guidManagedProjectSystemOrderCommandSet" id="AddAboveMenu" />
</Group>
<Group guid="guidManagedProjectSystemOrderCommandSet" id="AddBelowGroup" priority="0x102">
<Parent guid="guidManagedProjectSystemOrderCommandSet" id="AddBelowMenu" />
</Group>
<Group guid="guidManagedProjectSystemCommandSet" id="NavigateGroup" priority="0x000">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_PROJECTREFERENCE"/>
</Group>
<Group guid="guidManagedProjectSystemCommandSet" id="NavigateGroup" priority="0x000">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_SHAREDPROJECTREFERENCE"/>
</Group>
</Groups>
<Buttons>
<Button guid="guidManagedProjectSystemOrderCommandSet" id="cmdidAddNewItemAbove" priority="0x102">
<Parent guid="guidManagedProjectSystemOrderCommandSet" id="AddAboveGroup"/>
<Icon guid="guidSHLMainMenu" id="1"/>
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Add New Item...</ButtonText>
<CommandName>Add New Item (Below)</CommandName>
</Strings>
</Button>
<Button guid="guidManagedProjectSystemOrderCommandSet" id="cmdidAddExistingItemAbove" priority="0x103">
<Parent guid="guidManagedProjectSystemOrderCommandSet" id="AddAboveGroup"/>
<Icon guid="guidSHLMainMenu" id="16"/>
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Add Existing Item...</ButtonText>
<CommandName>Add Existing Item (Above)</CommandName>
</Strings>
</Button>
<Button guid="guidManagedProjectSystemOrderCommandSet" id="cmdidAddNewItemBelow" priority="0x104">
<Parent guid="guidManagedProjectSystemOrderCommandSet" id="AddBelowGroup"/>
<Icon guid="guidSHLMainMenu" id="1"/>
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Add New Item...</ButtonText>
<CommandName>Add New Item (Below)</CommandName>
</Strings>
</Button>
<Button guid="guidManagedProjectSystemOrderCommandSet" id="cmdidAddExistingItemBelow" priority="0x105">
<Parent guid="guidManagedProjectSystemOrderCommandSet" id="AddBelowGroup"/>
<Icon guid="guidSHLMainMenu" id="16"/>
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Add Existing Item...</ButtonText>
<CommandName>Add Existing Item (Below)</CommandName>
</Strings>
</Button>
<Button guid="guidManagedProjectSystemCommandSet" id="cmdidGenerateNuGetPackageProjectContextMenu" priority="0x450">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJECT_BUILD" />
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Pack</ButtonText>
<ToolTipText>Generate NuGet Package</ToolTipText>
<CommandName>Pack</CommandName>
</Strings>
</Button>
<Button guid="guidManagedProjectSystemCommandSet" id="cmdidGenerateNuGetPackageTopLevelBuild" priority="0x450">
<Parent guid="guidSHLMainMenu" id="IDG_VS_BUILD_SELECTION" />
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Pack Selection</ButtonText>
<ToolTipText>Generate NuGet Package for selected project</ToolTipText>
<CommandName>Pack Selection</CommandName>
</Strings>
</Button>
<Button guid="guidManagedProjectSystemCommandSet" id="cmdidNavigateToProject" priority="0x0100">
<Parent guid="guidManagedProjectSystemCommandSet" id="NavigateGroup" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>N&avigate To Project</ButtonText>
<CommandName>Navigate To Project</CommandName>
</Strings>
</Button>
<Button guid="guidManagedProjectSystemCommandSet" id="cmdidDebugFrameworks" priority="0x0100" type="Button">
<Parent guid="guidManagedProjectSystemCommandSet" id="DebugTargetMenuDebugFrameworkGroup"/>
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DynamicItemStart</CommandFlag>
<CommandFlag>TogglePatternAvailable</CommandFlag>
<Strings>
<ButtonText>Framework</ButtonText>
</Strings>
</Button>
</Buttons>
</Commands>
<CommandPlacements>
<CommandPlacement guid="guidVSStd2K" id="ECMD_VIEWREFINOBJECTBROWSER" priority="0x0200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_ITEM_OBJECTBROWSER"/>
</CommandPlacement>
</CommandPlacements>
<KeyBindings>
<KeyBinding guid="guidManagedProjectSystemCommandSet" id="cmdidNavigateToProject" editor="guidSolutionExplorerToolWindow" key1="VK_F12"/>
</KeyBindings>
<Symbols>
<GuidSymbol name="guidSolutionExplorerToolWindow" value="{3AE79031-E1BC-11D0-8F78-00A0C9110057}" />
<!-- The .NET Project System package GUID. -->
<GuidSymbol name="PackageGuidString" value="{860A27C0-B665-47F3-BC12-637E16A1050A}" />
<!-- IDSymbol values should be spaced out, leaving space to add new values in future. -->
<GuidSymbol name="guidDebugTargetHandlerPackage" value="{6e87cfad-6c05-4adf-9cd7-3b7943875b7c}">
<IDSymbol name="DebugTargetMenuControllerGroup" value="0x1000" />
<IDSymbol name="DebugTargetMenuControllerFooterGroup" value="0x2000" />
</GuidSymbol>
<GuidSymbol name="guidManagedProjectSystemCommandSet" value="{568ABDF7-D522-474D-9EED-34B5E5095BA5}">
<IDSymbol name="cmdidProjectDebugger" value="0x0100" />
<IDSymbol name="cmdidGenerateNuGetPackageProjectContextMenu" value="0x2000" />
<IDSymbol name="cmdidGenerateNuGetPackageTopLevelBuild" value="0x2001" />
<IDSymbol name="cmdidNavigateToProject" value="0x2002" />
<IDSymbol name="DebugTargetMenuDebugFrameworkMenu" value="0x3000" />
<IDSymbol name="DebugTargetMenuDebugFrameworkGroup" value="0x3001" />
<IDSymbol name="cmdidDebugFrameworks" value="0x3050" />
<IDSymbol name="NavigateGroup" value="0x4000" />
</GuidSymbol>
<GuidSymbol name="guidManagedProjectSystemOrderCommandSet" value="{6C4806E9-034E-4B64-99DE-29A6F837B993}">
<IDSymbol name="OrderingGroup" value="0x0100" />
<IDSymbol name="AddAboveGroup" value="0x0101" />
<IDSymbol name="AddBelowGroup" value="0x0102" />
<IDSymbol name="AddAboveMenu" value="0x0103" />
<IDSymbol name="AddBelowMenu" value="0x0104" />
<IDSymbol name="cmdidMoveUp" value="0x2000" />
<IDSymbol name="cmdidMoveDown" value="0x2001" />
<IDSymbol name="cmdidAddNewItemAbove" value="0x2002" />
<IDSymbol name="cmdidAddExistingItemAbove" value="0x2003" />
<IDSymbol name="cmdidAddNewItemBelow" value="0x2004" />
<IDSymbol name="cmdidAddExistingItemBelow" value="0x2005" />
</GuidSymbol>
<GuidSymbol name="guidSHLMainMenu" value="{ 0xd309f791, 0x903f, 0x11d0, { 0x9e, 0xfc, 0x00, 0xa0, 0xc9, 0x11, 0x00, 0x4f } }">
<IDSymbol name="IDM_VS_CTXT_COMREFERENCE" value="0x04A5" />
<IDSymbol name="IDG_VS_CTXT_ITEM_OBJECTBROWSER" value="0x02F6" />
<IDSymbol name="IDM_VS_CTXT_PROJECTREFERENCE" value="0x04A7"/>
<IDSymbol name="IDM_VS_CTXT_SHAREDPROJECTREFERENCE" value="0x04A8" />
<IDSymbol name="IDM_VS_CTXT_TRANSITIVE_ASSEMBLY_REFERENCE" value="0x04B1" />
</GuidSymbol>
</Symbols>
</CommandTable>