Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit a57641b

Browse files
committed
Add project for VS2022
1 parent 97d3f29 commit a57641b

File tree

12 files changed

+223
-33
lines changed

12 files changed

+223
-33
lines changed

Votive.sln

Lines changed: 65 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 15
4-
VisualStudioVersion = 15.0.26206.0
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.31702.278
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "v3schemas", "src\Schemas\v3\v3schemas.csproj", "{D0DD12D1-3455-43A9-9173-E465DA045897}"
77
EndProject
@@ -33,9 +33,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionIt
3333
EndProject
3434
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "votive.shared", "src\votive.shared\votive.shared.shproj", "{72A14880-EC19-43B4-A4F0-DC9DDAE2C763}"
3535
EndProject
36+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Votive2022", "src\Votive2022\Votive2022.csproj", "{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}"
37+
EndProject
3638
Global
3739
GlobalSection(SharedMSBuildProjectFiles) = preSolution
3840
src\votive.shared\votive.shared.projitems*{24a98296-9d58-42c1-95c0-cc36736409e2}*SharedItemsImports = 4
41+
src\votive.shared\votive.shared.projitems*{29a5bbf6-aedb-4867-92f6-c0f560f3aabf}*SharedItemsImports = 4
3942
src\votive.shared\votive.shared.projitems*{72a14880-ec19-43b4-a4f0-dc9ddae2c763}*SharedItemsImports = 13
4043
EndGlobalSection
4144
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -86,6 +89,36 @@ Global
8689
{D0DD12D1-3455-43A9-9173-E465DA045897}.Release|x64.Build.0 = Release|x64
8790
{D0DD12D1-3455-43A9-9173-E465DA045897}.Release|x86.ActiveCfg = Release|x86
8891
{D0DD12D1-3455-43A9-9173-E465DA045897}.Release|x86.Build.0 = Release|x86
92+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
93+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|Any CPU.Build.0 = Debug|Any CPU
94+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|arm.ActiveCfg = Debug|arm
95+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|arm.Build.0 = Debug|arm
96+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|Win32.ActiveCfg = Debug|Win32
97+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|Win32.Build.0 = Debug|Win32
98+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|x64.ActiveCfg = Debug|x64
99+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|x64.Build.0 = Debug|x64
100+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|x86.ActiveCfg = Debug|x86
101+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|x86.Build.0 = Debug|x86
102+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|Any CPU.ActiveCfg = Debug|Any CPU
103+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|Any CPU.Build.0 = Debug|Any CPU
104+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|arm.ActiveCfg = Debug|arm
105+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|arm.Build.0 = Debug|arm
106+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|Win32.ActiveCfg = Debug|Win32
107+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|Win32.Build.0 = Debug|Win32
108+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|x64.ActiveCfg = Debug|x64
109+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|x64.Build.0 = Debug|x64
110+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|x86.ActiveCfg = Debug|x86
111+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|x86.Build.0 = Debug|x86
112+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|Any CPU.ActiveCfg = Release|Any CPU
113+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|Any CPU.Build.0 = Release|Any CPU
114+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|arm.ActiveCfg = Release|arm
115+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|arm.Build.0 = Release|arm
116+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|Win32.ActiveCfg = Release|Win32
117+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|Win32.Build.0 = Release|Win32
118+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|x64.ActiveCfg = Release|x64
119+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|x64.Build.0 = Release|x64
120+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|x86.ActiveCfg = Release|x86
121+
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|x86.Build.0 = Release|x86
89122
{3C09CD7D-CA0F-4BB0-A1BE-0622645E93CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
90123
{3C09CD7D-CA0F-4BB0-A1BE-0622645E93CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
91124
{3C09CD7D-CA0F-4BB0-A1BE-0622645E93CB}.Debug|arm.ActiveCfg = Debug|arm
@@ -356,36 +389,36 @@ Global
356389
{B97AB81C-BE5B-4757-B2CC-96D92EB84182}.Release|x64.Build.0 = Release|x64
357390
{B97AB81C-BE5B-4757-B2CC-96D92EB84182}.Release|x86.ActiveCfg = Release|x86
358391
{B97AB81C-BE5B-4757-B2CC-96D92EB84182}.Release|x86.Build.0 = Release|x86
359-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
360-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|Any CPU.Build.0 = Debug|Any CPU
361-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|arm.ActiveCfg = Debug|arm
362-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|arm.Build.0 = Debug|arm
363-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|Win32.ActiveCfg = Debug|Win32
364-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|Win32.Build.0 = Debug|Win32
365-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|x64.ActiveCfg = Debug|x64
366-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|x64.Build.0 = Debug|x64
367-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|x86.ActiveCfg = Debug|x86
368-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Debug|x86.Build.0 = Debug|x86
369-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|Any CPU.ActiveCfg = Debug|Any CPU
370-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|Any CPU.Build.0 = Debug|Any CPU
371-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|arm.ActiveCfg = Debug|arm
372-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|arm.Build.0 = Debug|arm
373-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|Win32.ActiveCfg = Debug|Win32
374-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|Win32.Build.0 = Debug|Win32
375-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|x64.ActiveCfg = Debug|x64
376-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|x64.Build.0 = Debug|x64
377-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|x86.ActiveCfg = Debug|x86
378-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.DebugDev12|x86.Build.0 = Debug|x86
379-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|Any CPU.ActiveCfg = Release|Any CPU
380-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|Any CPU.Build.0 = Release|Any CPU
381-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|arm.ActiveCfg = Release|arm
382-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|arm.Build.0 = Release|arm
383-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|Win32.ActiveCfg = Release|Win32
384-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|Win32.Build.0 = Release|Win32
385-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|x64.ActiveCfg = Release|x64
386-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|x64.Build.0 = Release|x64
387-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|x86.ActiveCfg = Release|x86
388-
{587D2A86-66CF-46B4-98C8-C01E20F1076D}.Release|x86.Build.0 = Release|x86
392+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
393+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Debug|Any CPU.Build.0 = Debug|Any CPU
394+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Debug|arm.ActiveCfg = Debug|Any CPU
395+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Debug|arm.Build.0 = Debug|Any CPU
396+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Debug|Win32.ActiveCfg = Debug|x86
397+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Debug|Win32.Build.0 = Debug|x86
398+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Debug|x64.ActiveCfg = Debug|Any CPU
399+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Debug|x64.Build.0 = Debug|Any CPU
400+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Debug|x86.ActiveCfg = Debug|x86
401+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Debug|x86.Build.0 = Debug|x86
402+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.DebugDev12|Any CPU.ActiveCfg = Debug|Any CPU
403+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.DebugDev12|Any CPU.Build.0 = Debug|Any CPU
404+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.DebugDev12|arm.ActiveCfg = Debug|Any CPU
405+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.DebugDev12|arm.Build.0 = Debug|Any CPU
406+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.DebugDev12|Win32.ActiveCfg = Debug|x86
407+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.DebugDev12|Win32.Build.0 = Debug|x86
408+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.DebugDev12|x64.ActiveCfg = Debug|Any CPU
409+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.DebugDev12|x64.Build.0 = Debug|Any CPU
410+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.DebugDev12|x86.ActiveCfg = Debug|x86
411+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.DebugDev12|x86.Build.0 = Debug|x86
412+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Release|Any CPU.ActiveCfg = Release|Any CPU
413+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Release|Any CPU.Build.0 = Release|Any CPU
414+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Release|arm.ActiveCfg = Release|Any CPU
415+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Release|arm.Build.0 = Release|Any CPU
416+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Release|Win32.ActiveCfg = Release|x86
417+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Release|Win32.Build.0 = Release|x86
418+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Release|x64.ActiveCfg = Release|Any CPU
419+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Release|x64.Build.0 = Release|Any CPU
420+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Release|x86.ActiveCfg = Release|x86
421+
{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}.Release|x86.Build.0 = Release|x86
389422
EndGlobalSection
390423
GlobalSection(SolutionProperties) = preSolution
391424
HideSolutionNode = FALSE

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ branches:
55
- master
66
- develop
77

8-
image: Visual Studio 2015
8+
image: Visual Studio 2019
99

1010
version: 0.0.0.{build}
1111
configuration: Release

src/Votive2022/Votive2022.csproj

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
3+
<PropertyGroup>
4+
<ProjectGuid>{29A5BBF6-AEDB-4867-92F6-C0F560F3AABF}</ProjectGuid>
5+
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
6+
<OutputType>Library</OutputType>
7+
<RootNamespace>WixToolset.VisualStudioExtension</RootNamespace>
8+
<AssemblyName>Votive2022</AssemblyName>
9+
<ShouldSignOutput>true</ShouldSignOutput>
10+
<GeneratePkgDefFile>true</GeneratePkgDefFile>
11+
<CopyZipOutputToOutputDirectory>true</CopyZipOutputToOutputDirectory>
12+
<CopyVsixManifestToOutput>false</CopyVsixManifestToOutput>
13+
<DeployExtension>false</DeployExtension>
14+
<DeployVSTemplates>false</DeployVSTemplates>
15+
<UseCodebase>true</UseCodebase>
16+
<VsTemplateLanguage>WiX</VsTemplateLanguage>
17+
<NuGetPackageImportStamp>
18+
</NuGetPackageImportStamp>
19+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
20+
<TargetFrameworkProfile />
21+
<DefineConstants>Dev17</DefineConstants>
22+
<NoWarn>VSTHRD001,VSTHRD010,VSSDK006,VSTHRD110,VSTHRD200,VSSDK006,RS0030</NoWarn>
23+
</PropertyGroup>
24+
<Import Project="..\..\tools\WixBuild.csproj.props" />
25+
<ItemGroup>
26+
<Reference Include="System" />
27+
<Reference Include="System.Drawing" />
28+
<Reference Include="System.Windows.Forms" />
29+
<Reference Include="System.XML" />
30+
<Reference Include="WindowsBase" />
31+
</ItemGroup>
32+
<ItemGroup Label="Suppressed items">
33+
<SuppressFromVsix Include="Microsoft.NET.StringTools.dll" />
34+
<SuppressFromVsix Include="Microsoft.VisualStudio.TextTemplating.dll" />
35+
<SuppressFromVsix Include="Microsoft.VisualStudio.TextTemplating.Interfaces.dll" />
36+
<SuppressFromVsix Include="Microsoft.VisualStudio.TextTemplating.VSHost.dll" />
37+
<SuppressFromVsix Include="System.Configuration.ConfigurationManager.dll" />
38+
<SuppressFromVsix Include="System.Security.Permissions.dll" />
39+
<SuppressFromVsix Include="System.Text.Encodings.Web.dll" />
40+
<SuppressFromVsix Include="System.Text.Json.dll" />
41+
</ItemGroup>
42+
<ItemGroup>
43+
<ProjectReference Include="..\Schemas\v3\v3schemas.csproj">
44+
<Project>{d0dd12d1-3455-43a9-9173-e465da045897}</Project>
45+
<Name>v3schemas</Name>
46+
<IncludeOutputGroupsInVSIX>GetCopyToOutputDirectoryItems%3bVSIXContainerProjectOutputGroup%3b</IncludeOutputGroupsInVSIX>
47+
<VSIXSubPath>Schemas</VSIXSubPath>
48+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
49+
</ProjectReference>
50+
<ProjectReference Include="..\Schemas\v4\v4schemas.csproj">
51+
<Project>{587d2a86-66cf-46b4-98c8-c01e20f1076d}</Project>
52+
<Name>v4schemas</Name>
53+
<VSIXSubPath>Schemas</VSIXSubPath>
54+
<IncludeOutputGroupsInVSIX>GetCopyToOutputDirectoryItems%3bVSIXContainerProjectOutputGroup%3b</IncludeOutputGroupsInVSIX>
55+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
56+
</ProjectReference>
57+
</ItemGroup>
58+
<ItemGroup>
59+
<Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />
60+
</ItemGroup>
61+
<ItemGroup>
62+
<PackageReference Include="Microsoft.Build.Conversion.Core" Version="16.11.0" />
63+
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.11.0" />
64+
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.0.0-previews-4-31709-430" />
65+
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.0.5217-preview5" />
66+
<PackageReference Include="Nerdbank.GitVersioning" Version="2.2.33" />
67+
</ItemGroup>
68+
<ItemGroup>
69+
<None Include="source.extension.vsixmanifest" />
70+
<Content Include="WixLogoDev17.png">
71+
<IncludeInVSIX>true</IncludeInVSIX>
72+
</Content>
73+
</ItemGroup>
74+
<Import Project="..\votive.shared\votive.shared.projitems" Label="Shared" />
75+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
76+
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
77+
<Import Project="..\..\Tools\WixBuild.csproj.targets" />
78+
<!-- This target is needed to include the project and item templates in the VSIX container. -->
79+
<PropertyGroup>
80+
<GetVsixSourceItemsDependsOn>$(GetVsixSourceItemsDependsOn);GetVsixTemplateItems</GetVsixSourceItemsDependsOn>
81+
</PropertyGroup>
82+
<Target Name="GetVsixTemplateItems" DependsOnTargets="ZipProjects;ZipItems">
83+
<ItemGroup>
84+
<_ProjectTemplates Include="$(OutputPath)ProjectTemplates\**" />
85+
<_ItemTemplates Include="$(OutputPath)ItemTemplates\**" />
86+
<VSIXSourceItem Include="@(_ProjectTemplates)">
87+
<VSIXSubPath>ProjectTemplates\%(RecursiveDir)</VSIXSubPath>
88+
</VSIXSourceItem>
89+
<VSIXSourceItem Include="@(_ItemTemplates)">
90+
<VSIXSubPath>ItemTemplates\%(RecursiveDir)</VSIXSubPath>
91+
</VSIXSourceItem>
92+
</ItemGroup>
93+
</Target>
94+
</Project>

src/Votive2022/WixLogoDev17.png

8.55 KB
Loading
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<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">
3+
<Metadata>
4+
<Identity Id="WixToolset.VisualStudioExtension.Dev17" Version="|Votive2022;GetBuildVersion|" Language="en-US" Publisher=".NET Foundation and contributors" />
5+
<DisplayName>Wix Toolset Visual Studio 2022 Extension</DisplayName>
6+
<Description>Visual Studio integration for the WiX Toolset - the most powerful set of tools available to create your Windows installation experience.</Description>
7+
<MoreInfo>http://wixtoolset.org/</MoreInfo>
8+
<Icon>WixLogoDev17.png</Icon>
9+
<PreviewImage>WixLogoDev17.png</PreviewImage>
10+
</Metadata>
11+
<Prerequisites>
12+
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />
13+
</Prerequisites>
14+
<Dependencies>
15+
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
16+
<Dependency d:Source="Project" d:ProjectName="v3schemas" d:InstallSource="Embed" d:VsixSubPath="sc" Location="|v3schemas;VSIXContainerProjectOutputGroup|" DisplayName="|v3schemas;VSIXNameProjectOutputGroup|" Id="|v3schemas;VSIXIdentifierProjectOutputGroup|" />
17+
<Dependency d:Source="Project" d:ProjectName="v4schemas" d:InstallSource="Embed" d:VsixSubPath="sc" Location="|v4schemas;VSIXContainerProjectOutputGroup|" DisplayName="|v4schemas;VSIXNameProjectOutputGroup|" Id="|v4schemas;VSIXIdentifierProjectOutputGroup|" />
18+
</Dependencies>
19+
<Installation AllUsers="true">
20+
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
21+
<ProductArchitecture>amd64</ProductArchitecture>
22+
</InstallationTarget>
23+
</Installation>
24+
<Assets>
25+
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
26+
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" Path="ProjectTemplates" />
27+
<Asset Type="Microsoft.VisualStudio.ItemTemplate" Path="ItemTemplates" />
28+
</Assets>
29+
</PackageManifest>

src/src.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<ProjectReference Include="Votive2015\Votive2015.csproj" />
1010
<ProjectReference Include="Votive2017\Votive2017.csproj" />
1111
<ProjectReference Include="Votive2019\Votive2019.csproj" />
12+
<ProjectReference Include="Votive2022\Votive2022.csproj" />
1213
</ItemGroup>
1314

1415
<Import Project="..\tools\Traversal.targets" />

src/votive.shared/ProjectBase/IDEBuildLogger.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,11 @@ private void ClearCachedVerbosity()
561561
/// <param name="arguments"></param>
562562
private void NavigateTo(object sender, EventArgs arguments)
563563
{
564+
#if Dev17
565+
Microsoft.VisualStudio.Shell.TaskListItem task = sender as Microsoft.VisualStudio.Shell.TaskListItem;
566+
#else
564567
Microsoft.VisualStudio.Shell.Task task = sender as Microsoft.VisualStudio.Shell.Task;
568+
#endif
565569
if (task == null)
566570
{
567571
throw new ArgumentException("sender");

src/votive.shared/ProjectBase/ProjectConfig.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,11 @@ public virtual int QueryDebugTargets(uint grfLaunch, uint cTargets, VsDebugTarge
11131113
bstrExe = targetInfo.bstrExe,
11141114
bstrPortName = targetInfo.bstrPortName,
11151115
bstrRemoteMachine = targetInfo.bstrRemoteMachine,
1116+
#if Dev17
1117+
fSendToOutputWindow = targetInfo.fSendStdoutToOutputWindow != 0,
1118+
#else
11161119
fSendToOutputWindow = targetInfo.fSendStdoutToOutputWindow,
1120+
#endif
11171121
guidLaunchDebugEngine = targetInfo.clsidCustom,
11181122
LaunchFlags = targetInfo.grfLaunch,
11191123
dlo = (uint)targetInfo.dlo,

src/votive.shared/ProjectBase/ProjectContainerNode.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,11 @@ protected internal void RunVsTemplateWizard(ProjectElement element, bool silent)
491491
// Make the call to execute the wizard. This should cause AddNestedProjectFromTemplate to be
492492
// called back with the correct set of parameters.
493493
EnvDTE.IVsExtensibility extensibilityService = (EnvDTE.IVsExtensibility)GetService(typeof(EnvDTE.IVsExtensibility));
494+
#if Dev17
495+
EnvDTE.wizardResult result = extensibilityService.RunWizardFile(template, (IntPtr)0, ref wizParams);
496+
#else
494497
EnvDTE.wizardResult result = extensibilityService.RunWizardFile(template, 0, ref wizParams);
498+
#endif
495499
if (result == EnvDTE.wizardResult.wizardResultFailure)
496500
throw new COMException();
497501
}

src/votive.shared/ProjectBase/ProjectNode.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1931,7 +1931,11 @@ public virtual VSADDRESULT RunWizard(HierarchyNode parentNode, string itemName,
19311931
{
19321932
Array contextParamsAsArray = contextParams;
19331933

1934+
#if Dev17
1935+
int result = ivsExtensibility.RunWizardFile(wizardToRun, dlgOwner, ref contextParamsAsArray, out wizResultAsInt);
1936+
#else
19341937
int result = ivsExtensibility.RunWizardFile(wizardToRun, (int)dlgOwner, ref contextParamsAsArray, out wizResultAsInt);
1938+
#endif
19351939

19361940
if (!ErrorHandler.Succeeded(result) && result != VSConstants.OLE_E_PROMPTSAVECANCELLED)
19371941
{

0 commit comments

Comments
 (0)