aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommandPackage.vsct
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-06-05 15:26:01 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-06-05 15:26:01 +0300
commitb1b9ec165cc318caed1fc9b5919a03029b6cb29e (patch)
treef1acb7c17b4ac0f21a6572c837105a9fd581b0ae /Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommandPackage.vsct
parentac0a8a7715360263973fda940f9138cf7d5141d7 (diff)
downloadTango-b1b9ec165cc318caed1fc9b5919a03029b6cb29e.tar.gz
Tango-b1b9ec165cc318caed1fc9b5919a03029b6cb29e.zip
Completed Remote Debugger VSIX !!!
Added 2 dancer parameters. Refactored Tech Board to reset configuration when connected machine changes.
Diffstat (limited to 'Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommandPackage.vsct')
-rw-r--r--Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommandPackage.vsct39
1 files changed, 35 insertions, 4 deletions
diff --git a/Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommandPackage.vsct b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommandPackage.vsct
index b454037e0..4919852d8 100644
--- a/Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommandPackage.vsct
+++ b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommandPackage.vsct
@@ -20,9 +20,13 @@
<!--This header contains the command ids for the menus provided by the shell. -->
<Extern href="vsshlids.h" />
+ <Extern href="VSDbgCmd.h" />
+ <Extern href="VsDebugGuids.h" />
+
<!--The Commands section is where commands, menus, and menu groups are defined.
This section uses a Guid to identify the package that provides the command defined inside it. -->
<Commands package="guidTangoBuildCommandPackage">
+
<!-- Inside this section we have different sub-sections: one for the menus, another
for the menu groups, one for the buttons (the actual commands), one for the combos
and the last one for the bitmaps used. Each element is identified by a command id that
@@ -39,6 +43,10 @@
<Group guid="guidTangoBuildCommandPackageCmdSet" id="MyMenuGroup" priority="0x0600">
<Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_TOOLS" />
</Group>
+
+ <Group guid="guidTangoBuildCommandPackageCmdSet" id="DebugGroup" priority="0x0600">
+ <Parent guid="guidVSDebugGroup" id="IDM_DEBUG_MENU"/>
+ </Group>
</Groups>
<!--Buttons section. -->
@@ -59,11 +67,14 @@
<ButtonText>Tango Build Engine</ButtonText>
</Strings>
</Button>
+
<Button guid="guidTangoBuildCommandPackageCmdSet" id="cmdidRemoteDebugCommand" priority="0x0100" type="Button">
- <Parent guid="guidTangoBuildCommandPackageCmdSet" id="MyMenuGroup" />
- <Icon guid="guidImages1" id="bmpPic1" />
+ <Parent guid="guidTangoBuildCommandPackageCmdSet" id="DebugGroup" />
+ <Icon guid="play_image_guid" id="play" />
+ <CommandFlag>DefaultInvisible</CommandFlag>
+ <CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
- <ButtonText>Run On Remote Machine</ButtonText>
+ <ButtonText>Remote Debug</ButtonText>
</Strings>
</Button>
</Buttons>
@@ -77,10 +88,23 @@
must be the actual index (1-based) of the bitmap inside the bitmap strip. -->
<Bitmap guid="guidImages" href="Resources\TangoBuildCommand.png" usedList="bmpPic1, bmpPic2, bmpPicSearch, bmpPicX, bmpPicArrows, bmpPicStrikethrough" />
<Bitmap guid="guidMyImages" href="Resources\machine-trans-16x16.png" usedList="machine" />
+ <Bitmap guid="play_image_guid" href="Resources\play-blue.png" usedList="play" />
<Bitmap guid="guidImages1" href="Resources\RemoteDebugCommand.png" usedList="bmpPic1, bmpPic2, bmpPicSearch, bmpPicX, bmpPicArrows, bmpPicStrikethrough" />
</Bitmaps>
</Commands>
+ <CommandPlacements>
+
+ <CommandPlacement guid="guidTangoBuildCommandPackageCmdSet" id="DebugGroup" priority="0x600">
+ <Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_DEBUG"/>
+ </CommandPlacement>
+
+ <CommandPlacement guid="guidTangoBuildCommandPackageCmdSet" id="cmdidRemoteDebugCommand" priority="0x600">
+ <Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_DEBUG"/>
+ </CommandPlacement>
+
+ </CommandPlacements>
+
<Symbols>
<!-- This is the package guid. -->
<GuidSymbol name="guidTangoBuildCommandPackage" value="{f911efc8-1a59-4b5f-953d-d715ddd70710}" />
@@ -89,13 +113,18 @@
<GuidSymbol name="guidTangoBuildCommandPackageCmdSet" value="{c03a7b01-8109-4ec5-8f90-858bed027e5d}">
<IDSymbol name="MyMenuGroup" value="0x1020" />
<IDSymbol name="TangoBuildCommandId" value="0x0100" />
- <IDSymbol value="4129" name="cmdidRemoteDebugCommand" />
+ <IDSymbol name="DebugGroup" value="0x2020" />
+ <IDSymbol name="cmdidRemoteDebugCommand" value="4129" />
</GuidSymbol>
<GuidSymbol name="guidMyImages" value="{d52f5c81-cc63-4c7c-8513-231caf50db11}">
<IDSymbol name="machine" value="1" />
</GuidSymbol>
+ <GuidSymbol name="play_image_guid" value="{d52f5c81-cc63-4c7c-8513-231caf50d101}">
+ <IDSymbol name="play" value="1" />
+ </GuidSymbol>
+
<GuidSymbol name="guidImages" value="{735a16c4-95ad-41f9-9342-ac321265d383}">
<IDSymbol name="bmpPic1" value="1" />
<IDSymbol name="bmpPic2" value="2" />
@@ -114,4 +143,6 @@
<IDSymbol name="bmpPicStrikethrough" value="6" />
</GuidSymbol>
</Symbols>
+
+
</CommandTable>