Skip to content

Commit bc6afb3

Browse files
committed
Updated template to v141
1 parent c64395d commit bc6afb3

7 files changed

+17
-128
lines changed

src/Command1Package.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected override void Initialize()
6969
{
7070
Command1.Initialize(this);
7171
base.Initialize();
72-
Command2.Initialize(this);
72+
7373

7474
}
7575

src/Command1Package.vsct

+2-15
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,7 @@
6363
<ButtonText>openFrameworks addons</ButtonText>
6464
</Strings>
6565
</Button>
66-
<Button guid="guidCommand1PackageCmdSet1" id="cmdidCommand2" priority="0x0100" type="Button">
67-
<Parent guid="guidCommand1PackageCmdSet1" id="MyMenuGroup" />
68-
<Icon guid="guidImages1" id="bmpPic1" />
69-
<Strings>
70-
<ButtonText>Invoke Command2</ButtonText>
71-
</Strings>
72-
</Button>
73-
<Button guid="guidCommand1PackageCmdSet1" id="cmdidCommand21" priority="0x0100" type="Button">
74-
<Parent guid="guidCommand1PackageCmdSet1" id="MyMenuGroup" />
75-
<Icon guid="guidImages2" id="bmpPic1" />
76-
<Strings>
77-
<ButtonText>Invoke Command2</ButtonText>
78-
</Strings>
79-
</Button>
66+
8067
</Buttons>
8168

8269
<!--The bitmaps section is used to define the bitmaps that are used for the commands.-->
@@ -87,7 +74,7 @@
8774
inside a button definition. An important aspect of this declaration is that the element id
8875
must be the actual index (1-based) of the bitmap inside the bitmap strip. -->
8976
<Bitmap guid="guidImages" href="Resources\__TemplateIcon.png" usedList="bmpPic1" />
90-
<Bitmap guid="guidImages2" href="Resources\Command2.png" usedList="bmpPic1, bmpPic2, bmpPicSearch, bmpPicX, bmpPicArrows, bmpPicStrikethrough" />
77+
9178
</Bitmaps>
9279
</Commands>
9380

src/Command2.cs

-103
This file was deleted.

src/Resources/Command2.png

-1.14 KB
Binary file not shown.

src/VSIXopenFrameworks.csproj

+9-4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
<UseApplicationTrust>false</UseApplicationTrust>
2929
<BootstrapperEnabled>true</BootstrapperEnabled>
3030
<TargetFrameworkProfile />
31+
<StartAction>Program</StartAction>
32+
<StartProgram>$(DevEnvDir)\devenv.exe</StartProgram>
33+
<StartArguments>/rootsuffix Exp</StartArguments>
3134
</PropertyGroup>
3235
<PropertyGroup>
3336
<SignAssembly>true</SignAssembly>
@@ -75,8 +78,12 @@
7578
<Folder Include="Properties\" />
7679
</ItemGroup>
7780
<ItemGroup>
78-
<None Include="app.config" />
79-
<None Include="packages.config" />
81+
<None Include="app.config">
82+
<SubType>Designer</SubType>
83+
</None>
84+
<None Include="packages.config">
85+
<SubType>Designer</SubType>
86+
</None>
8087
<None Include="source.extension.vsixmanifest" />
8188
<None Include="Wizard\keyStore_visualStudioWizard2017.pfx" />
8289
</ItemGroup>
@@ -98,7 +105,6 @@
98105
<ItemGroup>
99106
<Compile Include="Command1.cs" />
100107
<Compile Include="Command1Package.cs" />
101-
<Compile Include="Command2.cs" />
102108
</ItemGroup>
103109
<ItemGroup>
104110
<Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
@@ -238,7 +244,6 @@
238244
</Content>
239245
<Content Include="Resources\Command1.png" />
240246
<Content Include="Resources\Command1Package.ico" />
241-
<Content Include="Resources\Command2.png" />
242247
<Content Include="Resources\of-logo.svg" />
243248
<Content Include="__TemplateIcon.png">
244249
<CopyToOutputDirectory>Always</CopyToOutputDirectory>

src/openFrameworksTemplate/emptyExample.vcxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,24 @@
2727
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2828
<ConfigurationType>Application</ConfigurationType>
2929
<CharacterSet>Unicode</CharacterSet>
30-
<PlatformToolset>v140</PlatformToolset>
30+
<PlatformToolset>v141</PlatformToolset>
3131
</PropertyGroup>
3232
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
3333
<ConfigurationType>Application</ConfigurationType>
3434
<CharacterSet>Unicode</CharacterSet>
35-
<PlatformToolset>v140</PlatformToolset>
35+
<PlatformToolset>v141</PlatformToolset>
3636
</PropertyGroup>
3737
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
3838
<ConfigurationType>Application</ConfigurationType>
3939
<CharacterSet>Unicode</CharacterSet>
4040
<WholeProgramOptimization>true</WholeProgramOptimization>
41-
<PlatformToolset>v140</PlatformToolset>
41+
<PlatformToolset>v141</PlatformToolset>
4242
</PropertyGroup>
4343
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4444
<ConfigurationType>Application</ConfigurationType>
4545
<CharacterSet>Unicode</CharacterSet>
4646
<WholeProgramOptimization>true</WholeProgramOptimization>
47-
<PlatformToolset>v140</PlatformToolset>
47+
<PlatformToolset>v141</PlatformToolset>
4848
</PropertyGroup>
4949
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
5050
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">

src/source.extension.vsixmanifest

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
4-
<Identity Id="VSIXopenframeworks2017.A049B6B4-2855-4C1C-A3A6-13ED823BB898" Version="0.3" Language="en-US" Publisher="Arturo Castro, Half Scheidl" />
4+
<Identity Id="VSIXopenframeworks2017.A049B6B4-2855-4C1C-A3A6-13ED823BB898" Version="0.4" Language="en-US" Publisher="Arturo Castro, Half Scheidl" />
55
<DisplayName>openFrameworks plugin for Visual Studio 2017</DisplayName>
66
<Description xml:space="preserve">openFrameworks plugin for Visual Studio 2017</Description>
77
<License>GPLv3.txt</License>

0 commit comments

Comments
 (0)