Skip to content

Commit 55feafc

Browse files
StuparStupar
Stupar
authored and
Stupar
committedNov 10, 2021
1. created input gui forms (question, advanced)
2. created class ProjectData to group project data 3. using VCProject interface, instead of Project alone 4. created option rootFilter 5. supported vcxitems shared items project 6. updated getting project items, if shared items project is present, reference is first removed before getting project items, and then restored
1 parent 0885ca8 commit 55feafc

18 files changed

+2860
-362
lines changed
 

‎GenerateFilters/GenerateFilters.csproj

+37-17
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
2121
</PropertyGroup>
2222
<PropertyGroup>
23-
<ApplicationIcon>resources\GenerateFilters.ico</ApplicationIcon>
23+
<ApplicationIcon>resources\generateFilters.ico</ApplicationIcon>
2424
</PropertyGroup>
2525
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
2626
<DebugSymbols>true</DebugSymbols>
@@ -77,19 +77,32 @@
7777
<WarningLevel>4</WarningLevel>
7878
</PropertyGroup>
7979
<ItemGroup>
80-
<Compile Include="source\filter\filter.cs" />
81-
<Compile Include="source\filter\work.cs" />
82-
<Compile Include="source\package.cs" />
80+
<Compile Include="source\source\filter\filter.cs" />
81+
<Compile Include="source\source\project\projectData.cs" />
82+
<Compile Include="source\source\other\test\test.cs" />
83+
<Compile Include="source\source\filter\work.cs" />
84+
<Compile Include="source\gui\advanced.cs">
85+
<SubType>Form</SubType>
86+
</Compile>
87+
<Compile Include="source\gui\advanced.Designer.cs">
88+
<DependentUpon>advanced.cs</DependentUpon>
89+
</Compile>
90+
<Compile Include="source\gui\question.cs">
91+
<SubType>Form</SubType>
92+
</Compile>
93+
<Compile Include="source\gui\question.Designer.cs">
94+
<DependentUpon>question.cs</DependentUpon>
95+
</Compile>
96+
<Compile Include="source\source\package.cs" />
8397
<Compile Include="Properties\AssemblyInfo.cs" />
84-
<Compile Include="source\filter\path.cs" />
85-
<Compile Include="source\filter\project.cs" />
86-
<Compile Include="source\filter\xml.cs" />
98+
<Compile Include="source\source\utility\path.cs" />
99+
<Compile Include="source\source\project\project.cs" />
100+
<Compile Include="source\source\filter\xml.cs" />
87101
</ItemGroup>
88102
<ItemGroup>
89-
<Content Include="resources\VCProjectEngine_17.0.dll" />
90103
<None Include="key.snk" />
91-
<Content Include="resources\GenerateFiltersPackage.ico" />
92-
<Content Include="resources\LICENSE">
104+
<Content Include="resources\generateFiltersPackage.ico" />
105+
<Content Include="resources\license">
93106
<IncludeInVSIX>true</IncludeInVSIX>
94107
</Content>
95108
<None Include="source.extension.vsixmanifest">
@@ -101,11 +114,11 @@
101114
<ResourceName>Menus.ctmenu</ResourceName>
102115
<SubType>Designer</SubType>
103116
</VSCTCompile>
104-
<Content Include="resources\GenerateFilters.ico">
117+
<Content Include="resources\generateFilters.ico">
105118
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
106119
<IncludeInVSIX>true</IncludeInVSIX>
107120
</Content>
108-
<Content Include="resources\PreviewImage.png">
121+
<Content Include="resources\previewImage.png">
109122
<IncludeInVSIX>true</IncludeInVSIX>
110123
</Content>
111124
</ItemGroup>
@@ -115,20 +128,27 @@
115128
<ManifestResourceName>VSPackage</ManifestResourceName>
116129
<SubType>Designer</SubType>
117130
</EmbeddedResource>
131+
<EmbeddedResource Include="source\gui\advanced.resx">
132+
<DependentUpon>advanced.cs</DependentUpon>
133+
</EmbeddedResource>
134+
<EmbeddedResource Include="source\gui\question.resx">
135+
<DependentUpon>question.cs</DependentUpon>
136+
</EmbeddedResource>
118137
</ItemGroup>
119138
<ItemGroup>
120139
<Reference Include="System" />
140+
<Reference Include="System.Data" />
141+
<Reference Include="System.Drawing" />
142+
<Reference Include="System.Windows.Forms" />
121143
<Reference Include="System.Xml" />
122-
<Reference Include="VCProjectEngine_17.0, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
123-
<SpecificVersion>False</SpecificVersion>
124-
<HintPath>resources\VCProjectEngine_17.0.dll</HintPath>
125-
<EmbedInteropTypes>True</EmbedInteropTypes>
126-
</Reference>
127144
</ItemGroup>
128145
<ItemGroup>
129146
<PackageReference Include="Microsoft.VisualStudio.SDK">
130147
<Version>17.0.0-previews-4-31709-430</Version>
131148
</PackageReference>
149+
<PackageReference Include="Microsoft.VisualStudio.VCProjectEngine">
150+
<Version>17.0.31902.203</Version>
151+
</PackageReference>
132152
<PackageReference Include="Microsoft.VSSDK.BuildTools">
133153
<Version>17.0.5322-preview5-g2cf1b9c5</Version>
134154
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Binary file not shown.

‎GenerateFilters/source.extension.vsixmanifest

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
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="VisualStudioCppExtensions.Company.5fdbeaec-89c7-4773-997c-f46757c67a2e" Version="1.3" Language="en-US" Publisher="Stephane Molina" />
4+
<Identity Id="VisualStudioCppExtensions.Company.5fdbeaec-89c7-4773-997c-f46757c67a2e" Version="1.4" Language="en-US" Publisher="Stephane Molina" />
55
<DisplayName>Generate C++ Filters</DisplayName>
66
<Description xml:space="preserve">Simple Extension which provide the ability to generate C++ project filters to replicate the folder hierarchy of underlying sources</Description>
7-
<License>Resources\LICENSE</License>
8-
<Icon>Resources\GenerateFilters.ico</Icon>
9-
<PreviewImage>Resources\PreviewImage.png</PreviewImage>
7+
<License>resources\license</License>
8+
<Icon>resources\generateFilters.ico</Icon>
9+
<PreviewImage>resources\previewImage.png</PreviewImage>
1010
<Tags>c++;folder;import;filter</Tags>
1111
</Metadata>
1212
<Installation>

‎GenerateFilters/source/filter/work.cs

-278
This file was deleted.

0 commit comments

Comments
 (0)