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

Commit f02288a

Browse files
committed
Rebase pull request to close #7 from 'chrpai/develop'
2 parents 7cf4cf7 + 3b11b4e commit f02288a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+41459
-0
lines changed

src/Votive2019/Votive2019.csproj

Lines changed: 295 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,295 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
3+
<Import Project="..\..\packages\Microsoft.VSSDK.BuildTools.15.0.26201\build\Microsoft.VSSDK.BuildTools.props" Condition="Exists('..\..\packages\Microsoft.VSSDK.BuildTools.15.0.26201\build\Microsoft.VSSDK.BuildTools.props')" />
4+
<PropertyGroup>
5+
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
6+
<ProjectGuid>{B97AB81C-BE5B-4757-B2CC-96D92EB84182}</ProjectGuid>
7+
<OutputType>Library</OutputType>
8+
<AssemblyName>Votive2019</AssemblyName>
9+
<VsixType>v3</VsixType>
10+
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
11+
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
12+
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer>
13+
<GeneratePkgDefFile>false</GeneratePkgDefFile>
14+
<CopyVsixManifestToOutput>false</CopyVsixManifestToOutput>
15+
<DeployExtension>false</DeployExtension>
16+
<DeployVSTemplates>false</DeployVSTemplates>
17+
</PropertyGroup>
18+
<Import Project="..\..\tools\WixBuild.csproj.props" />
19+
<ItemGroup>
20+
<None Include="packages.config" />
21+
<None Include="source.extension.vsixmanifest" />
22+
</ItemGroup>
23+
<ItemGroup>
24+
<Content Include="WixLogoDev16.png">
25+
<IncludeInVSIX>true</IncludeInVSIX>
26+
</Content>
27+
</ItemGroup>
28+
<ItemGroup>
29+
<Content Include="redirects\v3\wix.ca.targets">
30+
<IncludeInVSIX>true</IncludeInVSIX>
31+
<InstallRoot>MSBuild</InstallRoot>
32+
<VSIXSubPath>Microsoft\WiX\v3.x\</VSIXSubPath>
33+
</Content>
34+
<Content Include="redirects\v3\wix.nativeca.targets">
35+
<IncludeInVSIX>true</IncludeInVSIX>
36+
<InstallRoot>MSBuild</InstallRoot>
37+
<VSIXSubPath>Microsoft\WiX\v3.x\</VSIXSubPath>
38+
</Content>
39+
<Content Include="redirects\v3\wix.targets">
40+
<IncludeInVSIX>true</IncludeInVSIX>
41+
<InstallRoot>MSBuild</InstallRoot>
42+
<VSIXSubPath>Microsoft\WiX\v3.x\</VSIXSubPath>
43+
</Content>
44+
<Content Include="redirects\v4\wix.ca.targets">
45+
<IncludeInVSIX>true</IncludeInVSIX>
46+
<InstallRoot>MSBuild</InstallRoot>
47+
<VSIXSubPath>WiX Toolset\v4\</VSIXSubPath>
48+
</Content>
49+
<Content Include="redirects\v4\wix.nativeca.targets">
50+
<IncludeInVSIX>true</IncludeInVSIX>
51+
<InstallRoot>MSBuild</InstallRoot>
52+
<VSIXSubPath>Microsoft\WiX\v3.x\</VSIXSubPath>
53+
</Content>
54+
<Content Include="redirects\v4\wix.targets">
55+
<IncludeInVSIX>true</IncludeInVSIX>
56+
<InstallRoot>MSBuild</InstallRoot>
57+
<VSIXSubPath>WiX Toolset\v4\</VSIXSubPath>
58+
</Content>
59+
</ItemGroup>
60+
<ItemGroup>
61+
<Content Include="schemas\bal.xsd">
62+
<InstallRoot>Schemas</InstallRoot>
63+
<IncludeInVSIX>true</IncludeInVSIX>
64+
<VSIXSubPath>.</VSIXSubPath>
65+
</Content>
66+
<Content Include="schemas\complus.xsd">
67+
<InstallRoot>Schemas</InstallRoot>
68+
<IncludeInVSIX>true</IncludeInVSIX>
69+
<VSIXSubPath>.</VSIXSubPath>
70+
</Content>
71+
<Content Include="schemas\dependency.xsd">
72+
<InstallRoot>Schemas</InstallRoot>
73+
<IncludeInVSIX>true</IncludeInVSIX>
74+
<VSIXSubPath>.</VSIXSubPath>
75+
</Content>
76+
<Content Include="schemas\difxapp.xsd">
77+
<InstallRoot>Schemas</InstallRoot>
78+
<IncludeInVSIX>true</IncludeInVSIX>
79+
<VSIXSubPath>.</VSIXSubPath>
80+
</Content>
81+
<Content Include="schemas\firewall.xsd">
82+
<InstallRoot>Schemas</InstallRoot>
83+
<IncludeInVSIX>true</IncludeInVSIX>
84+
<VSIXSubPath>.</VSIXSubPath>
85+
</Content>
86+
<Content Include="schemas\gaming.xsd">
87+
<InstallRoot>Schemas</InstallRoot>
88+
<IncludeInVSIX>true</IncludeInVSIX>
89+
<VSIXSubPath>.</VSIXSubPath>
90+
</Content>
91+
<Content Include="schemas\http.xsd">
92+
<InstallRoot>Schemas</InstallRoot>
93+
<IncludeInVSIX>true</IncludeInVSIX>
94+
<VSIXSubPath>.</VSIXSubPath>
95+
</Content>
96+
<Content Include="schemas\iis.xsd">
97+
<InstallRoot>Schemas</InstallRoot>
98+
<IncludeInVSIX>true</IncludeInVSIX>
99+
<VSIXSubPath>.</VSIXSubPath>
100+
</Content>
101+
<Content Include="schemas\lux.xsd">
102+
<InstallRoot>Schemas</InstallRoot>
103+
<IncludeInVSIX>true</IncludeInVSIX>
104+
<VSIXSubPath>.</VSIXSubPath>
105+
</Content>
106+
<Content Include="schemas\msmq.xsd">
107+
<InstallRoot>Schemas</InstallRoot>
108+
<IncludeInVSIX>true</IncludeInVSIX>
109+
<VSIXSubPath>.</VSIXSubPath>
110+
</Content>
111+
<Content Include="schemas\netfx.xsd">
112+
<InstallRoot>Schemas</InstallRoot>
113+
<IncludeInVSIX>true</IncludeInVSIX>
114+
<VSIXSubPath>.</VSIXSubPath>
115+
</Content>
116+
<Content Include="schemas\ps.xsd">
117+
<InstallRoot>Schemas</InstallRoot>
118+
<IncludeInVSIX>true</IncludeInVSIX>
119+
<VSIXSubPath>.</VSIXSubPath>
120+
</Content>
121+
<Content Include="schemas\sql.xsd">
122+
<InstallRoot>Schemas</InstallRoot>
123+
<IncludeInVSIX>true</IncludeInVSIX>
124+
<VSIXSubPath>.</VSIXSubPath>
125+
</Content>
126+
<Content Include="schemas\tag.xsd">
127+
<InstallRoot>Schemas</InstallRoot>
128+
<IncludeInVSIX>true</IncludeInVSIX>
129+
<VSIXSubPath>.</VSIXSubPath>
130+
</Content>
131+
<Content Include="schemas\thmutil.xsd">
132+
<InstallRoot>Schemas</InstallRoot>
133+
<IncludeInVSIX>true</IncludeInVSIX>
134+
<VSIXSubPath>.</VSIXSubPath>
135+
</Content>
136+
<Content Include="schemas\util.xsd">
137+
<InstallRoot>Schemas</InstallRoot>
138+
<IncludeInVSIX>true</IncludeInVSIX>
139+
<VSIXSubPath>.</VSIXSubPath>
140+
</Content>
141+
<Content Include="schemas\vs.xsd">
142+
<InstallRoot>Schemas</InstallRoot>
143+
<IncludeInVSIX>true</IncludeInVSIX>
144+
<VSIXSubPath>.</VSIXSubPath>
145+
</Content>
146+
<Content Include="schemas\wix.xsd">
147+
<VSIXSubPath>.</VSIXSubPath>
148+
<InstallRoot>Schemas</InstallRoot>
149+
<IncludeInVSIX>true</IncludeInVSIX>
150+
</Content>
151+
<Content Include="schemas\wixloc.xsd">
152+
<VSIXSubPath>.</VSIXSubPath>
153+
<InstallRoot>Schemas</InstallRoot>
154+
<IncludeInVSIX>true</IncludeInVSIX>
155+
</Content>
156+
</ItemGroup>
157+
<ItemGroup>
158+
<Content Include="schemas\bal4.xsd">
159+
<IncludeInVSIX>true</IncludeInVSIX>
160+
<InstallRoot>Schemas</InstallRoot>
161+
<VSIXSubPath>.</VSIXSubPath>
162+
</Content>
163+
<Content Include="schemas\cfg4.xsd">
164+
<IncludeInVSIX>true</IncludeInVSIX>
165+
<InstallRoot>Schemas</InstallRoot>
166+
<VSIXSubPath>.</VSIXSubPath>
167+
</Content>
168+
<Content Include="schemas\complus4.xsd">
169+
<IncludeInVSIX>true</IncludeInVSIX>
170+
<InstallRoot>Schemas</InstallRoot>
171+
<VSIXSubPath>.</VSIXSubPath>
172+
</Content>
173+
<Content Include="schemas\dependency4.xsd">
174+
<IncludeInVSIX>true</IncludeInVSIX>
175+
<InstallRoot>Schemas</InstallRoot>
176+
<VSIXSubPath>.</VSIXSubPath>
177+
</Content>
178+
<Content Include="schemas\difxapp4.xsd">
179+
<IncludeInVSIX>true</IncludeInVSIX>
180+
<InstallRoot>Schemas</InstallRoot>
181+
<VSIXSubPath>.</VSIXSubPath>
182+
</Content>
183+
<Content Include="schemas\firewall4.xsd">
184+
<IncludeInVSIX>true</IncludeInVSIX>
185+
<InstallRoot>Schemas</InstallRoot>
186+
<VSIXSubPath>.</VSIXSubPath>
187+
</Content>
188+
<Content Include="schemas\gaming4.xsd">
189+
<IncludeInVSIX>true</IncludeInVSIX>
190+
<InstallRoot>Schemas</InstallRoot>
191+
<VSIXSubPath>.</VSIXSubPath>
192+
</Content>
193+
<Content Include="schemas\http4.xsd">
194+
<IncludeInVSIX>true</IncludeInVSIX>
195+
<InstallRoot>Schemas</InstallRoot>
196+
<VSIXSubPath>.</VSIXSubPath>
197+
</Content>
198+
<Content Include="schemas\iis4.xsd">
199+
<IncludeInVSIX>true</IncludeInVSIX>
200+
<InstallRoot>Schemas</InstallRoot>
201+
<VSIXSubPath>.</VSIXSubPath>
202+
</Content>
203+
<Content Include="schemas\lux4.xsd">
204+
<IncludeInVSIX>true</IncludeInVSIX>
205+
<InstallRoot>Schemas</InstallRoot>
206+
<VSIXSubPath>.</VSIXSubPath>
207+
</Content>
208+
<Content Include="schemas\msmq4.xsd">
209+
<IncludeInVSIX>true</IncludeInVSIX>
210+
<InstallRoot>Schemas</InstallRoot>
211+
<VSIXSubPath>.</VSIXSubPath>
212+
</Content>
213+
<Content Include="schemas\netfx4.xsd">
214+
<IncludeInVSIX>true</IncludeInVSIX>
215+
<InstallRoot>Schemas</InstallRoot>
216+
<VSIXSubPath>.</VSIXSubPath>
217+
</Content>
218+
<Content Include="schemas\ps4.xsd">
219+
<IncludeInVSIX>true</IncludeInVSIX>
220+
<InstallRoot>Schemas</InstallRoot>
221+
<VSIXSubPath>.</VSIXSubPath>
222+
</Content>
223+
<Content Include="schemas\sql4.xsd">
224+
<IncludeInVSIX>true</IncludeInVSIX>
225+
<InstallRoot>Schemas</InstallRoot>
226+
<VSIXSubPath>.</VSIXSubPath>
227+
</Content>
228+
<Content Include="schemas\tag4.xsd">
229+
<IncludeInVSIX>true</IncludeInVSIX>
230+
<InstallRoot>Schemas</InstallRoot>
231+
<VSIXSubPath>.</VSIXSubPath>
232+
</Content>
233+
<Content Include="schemas\thmutil4.xsd">
234+
<IncludeInVSIX>true</IncludeInVSIX>
235+
<InstallRoot>Schemas</InstallRoot>
236+
<VSIXSubPath>.</VSIXSubPath>
237+
</Content>
238+
<Content Include="schemas\util4.xsd">
239+
<IncludeInVSIX>true</IncludeInVSIX>
240+
<InstallRoot>Schemas</InstallRoot>
241+
<VSIXSubPath>.</VSIXSubPath>
242+
</Content>
243+
<Content Include="schemas\vs4.xsd">
244+
<IncludeInVSIX>true</IncludeInVSIX>
245+
<InstallRoot>Schemas</InstallRoot>
246+
<VSIXSubPath>.</VSIXSubPath>
247+
</Content>
248+
<Content Include="schemas\wix4.xsd">
249+
<IncludeInVSIX>true</IncludeInVSIX>
250+
<InstallRoot>Schemas</InstallRoot>
251+
<VSIXSubPath>.</VSIXSubPath>
252+
</Content>
253+
<Content Include="schemas\wixloc4.xsd">
254+
<IncludeInVSIX>true</IncludeInVSIX>
255+
<InstallRoot>Schemas</InstallRoot>
256+
<VSIXSubPath>.</VSIXSubPath>
257+
</Content>
258+
</ItemGroup>
259+
<ItemGroup>
260+
<ProjectReference Include="..\votive\votive.csproj">
261+
<Project>{24A98296-9D58-42C1-95C0-CC36736409E2}</Project>
262+
<Name>votive</Name>
263+
<IncludeOutputGroupsInVSIX>PkgdefProjectOutputGroup;BuiltProjectOutputGroupDependencies;GetCopyToOutputDirectoryItems;SatelliteDllsProjectOutputGroup</IncludeOutputGroupsInVSIX>
264+
</ProjectReference>
265+
</ItemGroup>
266+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
267+
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
268+
<Import Project="..\..\Tools\WixBuild.csproj.targets" />
269+
<!-- This target is needed to include the project and item templates in the VSIX container. -->
270+
<PropertyGroup>
271+
<GetVsixSourceItemsDependsOn>$(GetVsixSourceItemsDependsOn);GetVsixTemplateItems</GetVsixSourceItemsDependsOn>
272+
</PropertyGroup>
273+
<Target Name="GetVsixTemplateItems" DependsOnTargets="ZipProjects;ZipItems">
274+
<ItemGroup>
275+
<_ProjectTemplates Include="$(OutputPath)ProjectTemplates\**" />
276+
<_ItemTemplates Include="$(OutputPath)ItemTemplates\**" />
277+
<VSIXSourceItem Include="@(_ProjectTemplates)">
278+
<VSIXSubPath>ProjectTemplates\%(RecursiveDir)</VSIXSubPath>
279+
</VSIXSourceItem>
280+
<VSIXSourceItem Include="@(_ItemTemplates)">
281+
<VSIXSubPath>ItemTemplates\%(RecursiveDir)</VSIXSubPath>
282+
</VSIXSourceItem>
283+
</ItemGroup>
284+
</Target>
285+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
286+
<PropertyGroup>
287+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
288+
</PropertyGroup>
289+
<Error Condition="!Exists('..\..\packages\Microsoft.VSSDK.BuildTools.15.0.26201\build\Microsoft.VSSDK.BuildTools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.VSSDK.BuildTools.15.0.26201\build\Microsoft.VSSDK.BuildTools.props'))" />
290+
<Error Condition="!Exists('..\..\packages\Microsoft.VSSDK.BuildTools.15.0.26201\build\Microsoft.VSSDK.BuildTools.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.VSSDK.BuildTools.15.0.26201\build\Microsoft.VSSDK.BuildTools.targets'))" />
291+
<Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.1.5.97\build\portable-net+win+wpa+wp+sl+netmf+MonoAndroid+MonoTouch+Xamarin.iOS\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.1.5.97\build\portable-net+win+wpa+wp+sl+netmf+MonoAndroid+MonoTouch+Xamarin.iOS\Nerdbank.GitVersioning.targets'))" />
292+
</Target>
293+
<Import Project="..\..\packages\Microsoft.VSSDK.BuildTools.15.0.26201\build\Microsoft.VSSDK.BuildTools.targets" Condition="Exists('..\..\packages\Microsoft.VSSDK.BuildTools.15.0.26201\build\Microsoft.VSSDK.BuildTools.targets')" />
294+
<Import Project="..\..\packages\Nerdbank.GitVersioning.1.5.97\build\portable-net+win+wpa+wp+sl+netmf+MonoAndroid+MonoTouch+Xamarin.iOS\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.1.5.97\build\portable-net+win+wpa+wp+sl+netmf+MonoAndroid+MonoTouch+Xamarin.iOS\Nerdbank.GitVersioning.targets')" />
295+
</Project>

src/Votive2019/WixLogoDev16.png

7.35 KB
Loading

src/Votive2019/packages.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Microsoft.VSSDK.BuildTools" version="15.0.26201" targetFramework="net40" developmentDependency="true" />
4+
<package id="Nerdbank.GitVersioning" version="1.5.97" targetFramework="net40" developmentDependency="true" />
5+
</packages>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" InitialTargets="EnsureActualWixToolsetInstalled" ToolsVersion="15.0">
4+
<PropertyGroup>
5+
<WixMSBuildFolder>$(MSBuildProgramFiles32)\MSBuild\Microsoft\WiX\v3.x\</WixMSBuildFolder>
6+
</PropertyGroup>
7+
8+
<Import Project="$(WixMSBuildFolder)wix.ca.targets" Condition=" Exists('$(WixMSBuildFolder)wix.ca.targets') " />
9+
<Target Name="EnsureActualWixToolsetInstalled" Condition=" '$(WixCATargetsImported)' != 'true' ">
10+
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. Could not find wix.ca.targets at '$(WixMSBuildFolder)'. To download WiX Toolset v3.11 (or newer), see http://wixtoolset.org/releases/" />
11+
</Target>
12+
</Project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" InitialTargets="EnsureActualWixToolsetInstalled" ToolsVersion="15.0">
4+
<PropertyGroup>
5+
<WixMSBuildFolder>$(MSBuildProgramFiles32)\MSBuild\Microsoft\WiX\v3.x\</WixMSBuildFolder>
6+
</PropertyGroup>
7+
8+
<Import Project="$(WixMSBuildFolder)wix.nativeca.targets" Condition=" Exists('$(WixMSBuildFolder)wix.nativeca.targets') " />
9+
<Target Name="EnsureActualWixToolsetInstalled" Condition=" '$(WixNativeCATargetsImported)' != 'true' ">
10+
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. Could not find wix.nativeca.targets at '$(WixMSBuildFolder)'. To download WiX Toolset v3.11 (or newer), see http://wixtoolset.org/releases/" />
11+
</Target>
12+
</Project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" InitialTargets="EnsureActualWixToolsetInstalled" ToolsVersion="15.0">
4+
<PropertyGroup>
5+
<WixMSBuildFolder>$(MSBuildProgramFiles32)\MSBuild\Microsoft\WiX\v3.x\</WixMSBuildFolder>
6+
</PropertyGroup>
7+
8+
<Import Project="$(WixMSBuildFolder)wix.targets" Condition=" Exists('$(WixMSBuildFolder)wix.targets') " />
9+
<Target Name="EnsureActualWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
10+
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. Could not find wix.targets at '$(WixMSBuildFolder)'. To download WiX Toolset v3.11 (or newer), see http://wixtoolset.org/releases/" />
11+
</Target>
12+
</Project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" InitialTargets="EnsureActualWixToolsetInstalled" ToolsVersion="15.0">
4+
<PropertyGroup>
5+
<WixInstallFolder>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WiX Toolset\v4', 'InstallFolder', null, RegistryView.Registry32))</WixInstallFolder>
6+
</PropertyGroup>
7+
8+
<Import Project="$(WixInstallFolder)sdk\wix.ca.targets" Condition=" Exists('$(WixInstallFolder)sdk\wix.ca.targets') " />
9+
<Target Name="EnsureActualWixToolsetInstalled" Condition=" '$(WixCATargetsImported)' != 'true' ">
10+
<Error Text="The WiX Toolset v4 build tools must be installed to build this project. Could not find wix.ca.targets at '$(WixInstallFolder)sdk\'. To download WiX Toolset v4, see http://wixtoolset.org/releases/" />
11+
</Target>
12+
</Project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" InitialTargets="EnsureActualWixToolsetInstalled" ToolsVersion="15.0">
4+
<PropertyGroup>
5+
<WixInstallFolder>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WiX Toolset\v4', 'InstallFolder', null, RegistryView.Registry32))</WixInstallFolder>
6+
</PropertyGroup>
7+
8+
<Import Project="$(WixInstallFolder)sdk\wix.nativeca.targets" Condition=" Exists('$(WixInstallFolder)sdk\wix.nativeca.targets') " />
9+
<Target Name="EnsureActualWixToolsetInstalled" Condition=" '$(WixNativeCATargetsImported)' != 'true' ">
10+
<Error Text="The WiX Toolset v4 build tools must be installed to build this project. Could not find wix.nativeca.targets at '$(WixInstallFolder)sdk\'. To download WiX Toolset v4, see http://wixtoolset.org/releases/" />
11+
</Target>
12+
</Project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" InitialTargets="EnsureActualWixToolsetInstalled" ToolsVersion="15.0">
4+
<PropertyGroup>
5+
<WixInstallFolder>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WiX Toolset\v4', 'InstallFolder', null, RegistryView.Registry32))</WixInstallFolder>
6+
</PropertyGroup>
7+
8+
<Import Project="$(WixInstallFolder)bin\wix.targets" Condition=" Exists('$(WixInstallFolder)bin\wix.targets') " />
9+
<Target Name="EnsureActualWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
10+
<Error Text="The WiX Toolset v4 build tools must be installed to build this project. Could not find wix.targets at '$(WixInstallFolder)'. To download WiX Toolset v4, see http://wixtoolset.org/releases/" />
11+
</Target>
12+
</Project>

0 commit comments

Comments
 (0)