@joebigelow / wix-1 / commits / dd8b4e6e

Update dependencies.

Sean Hall committed Apr 10, 2020 at 09:24 UTC dd8b4e6e1faf570c1233a7feb77f24751dcfc605
7 files changed +18 -13
appveyor.yml
+1 -1
@@ -8,7 +8,7 @@ branches:
8 - master
9 - develop
10
11 -image: Visual Studio 2017
11 +image: Visual Studio 2019
12
13 version: 0.0.0.{build}
14 configuration: Release
src/Directory.Build.props
+3 -1
@@ -8,6 +8,7 @@
8 <PropertyGroup>
9 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
10 <EnableSourceLink Condition=" '$(NCrunch)' == '1' ">false</EnableSourceLink>
11 + <MSBuildWarningsAsMessages>MSB3246</MSBuildWarningsAsMessages>
12
13 <ProjectName Condition=" '$(ProjectName)' == '' ">$(MSBuildProjectName)</ProjectName>
14 <BaseOutputPath>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\build\))</BaseOutputPath>
@@ -21,6 +22,7 @@
22 <Product>WiX Toolset</Product>
23 </PropertyGroup>
24
24 - <Import Project="Cpp.Build.props" Condition=" '$(MSBuildProjectExtension)'=='.vcxproj' " />
25 + <Import Project="Cpp.Build.props" Condition=" Exists('Cpp.Build.props') And '$(MSBuildProjectExtension)'=='.vcxproj' " />
26 + <Import Project="Wix.Build.props" Condition=" Exists('Wix.Build.props') And '$(MSBuildProjectExtension)'=='.wixproj' " />
27 <Import Project="Custom.Build.props" Condition=" Exists('Custom.Build.props') " />
28 </Project>
src/FindLocalWix.props
+1 -1
@@ -3,6 +3,6 @@
3
4 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
5 <PropertyGroup>
6 - <WixTargetsPath Condition=" '$(Configuration)' == 'Debug' And Exists('$(MSBuildThisFileDirectory)..\..\Tools\README.md') ">$(MSBuildThisFileDirectory)..\..\Tools\build\Debug\net461\wix.targets</WixTargetsPath>
6 + <WixTargetsPath Condition=" '$(Configuration)' == 'Debug' And Exists('$(MSBuildThisFileDirectory)..\..\Tools\README.md') And Exists('$(MSBuildThisFileDirectory)..\..\Tools\build\Debug\net461\wix.targets') ">$(MSBuildThisFileDirectory)..\..\Tools\build\Debug\net461\wix.targets</WixTargetsPath>
7 </PropertyGroup>
8 </Project>
src/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj
+8 -5
@@ -3,7 +3,7 @@
3
4 <Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup>
6 - <TargetFramework>netcoreapp2.1</TargetFramework>
6 + <TargetFramework>netcoreapp3.1</TargetFramework>
7 <IsPackable>false</IsPackable>
8 </PropertyGroup>
9
@@ -23,7 +23,10 @@
23 </ItemGroup>
24
25 <ItemGroup>
26 - <PackageReference Include="WixToolset.Core.TestPackage" Version="4.0.*" PrivateAssets="all" />
26 + <PackageReference Include="WixToolset.Core" Version="4.0.*" />
27 + <PackageReference Include="WixToolset.Core.Burn" Version="4.0.*" />
28 + <PackageReference Include="WixToolset.Core.WindowsInstaller" Version="4.0.*" />
29 + <PackageReference Include="WixToolset.Core.TestPackage" Version="4.0.*" />
30 </ItemGroup>
31
32 <ItemGroup>
@@ -31,8 +34,8 @@
34 </ItemGroup>
35
36 <ItemGroup>
34 - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
35 - <PackageReference Include="xunit" Version="2.4.0" />
36 - <PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
37 + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.3.0" />
38 + <PackageReference Include="xunit" Version="2.4.1" />
39 + <PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" PrivateAssets="All" />
40 </ItemGroup>
41 </Project>
src/wixext/PSCompiler.cs
+2 -2
@@ -181,7 +181,7 @@ namespace WixToolset.PowerShell
181 wixVariableRow.Value = major.ToString(CultureInfo.InvariantCulture);
182 wixVariableRow.Overridable = false;
183
184 - int registryRoot = 2; // HKLM
184 + RegistryRootType registryRoot = RegistryRootType.LocalMachine; // HKLM
185 string registryKey = String.Format(CultureInfo.InvariantCulture, KeyFormat, major, id);
186
187 this.ParseHelper.CreateRegistryRow(section, sourceLineNumbers, registryRoot, registryKey, "ApplicationBase", String.Format(CultureInfo.InvariantCulture, "[${0}]", componentId), componentId, false);
@@ -274,7 +274,7 @@ namespace WixToolset.PowerShell
274
275 this.ParseHelper.ParseForExtensionElements(this.Context.Extensions, intermediate, section, node);
276
277 - int registryRoot = 2; // HKLM
277 + RegistryRootType registryRoot = RegistryRootType.LocalMachine; // HKLM
278 string registryKey = String.Format(CultureInfo.InvariantCulture, KeyFormat, String.Format(CultureInfo.InvariantCulture, "!(wix.{0}_{1})", VarPrefix, snapIn), snapIn);
279
280 this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, "File", fileId);
src/wixlib/packages.config
+1 -1
@@ -1,5 +1,5 @@
1 <?xml version="1.0" encoding="utf-8"?>
2 <packages>
3 <package id="Nerdbank.GitVersioning" version="2.1.65" developmentDependency="true" targetFramework="net40" />
4 - <package id="WixToolset.MSBuild" version="4.0.0-build-0035" developmentDependency="true" targetFramework="net40" />
4 + <package id="WixToolset.MSBuild" version="4.0.0-build-0084" developmentDependency="true" targetFramework="net40" />
5 </packages>
\ No newline at end of file
src/wixlib/powershell.wixproj
+2 -2
@@ -1,7 +1,7 @@
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 DefaultTargets="Build" InitialTargets="EnsureWixToolsetInstalled" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="15.0">
4 - <Import Project="..\..\packages\WixToolset.MSBuild.4.0.0-build-0035\build\WixToolset.MSBuild.props" Condition="Exists('..\..\packages\WixToolset.MSBuild.4.0.0-build-0035\build\WixToolset.MSBuild.props')" />
4 + <Import Project="..\..\packages\WixToolset.MSBuild.4.0.0-build-0084\build\WixToolset.MSBuild.props" Condition="Exists('..\..\packages\WixToolset.MSBuild.4.0.0-build-0084\build\WixToolset.MSBuild.props')" />
5 <Import Project="..\FindLocalWix.props" />
6 <PropertyGroup>
7 <ProjectGuid>{9d4ccdfc-840c-4d4e-a9b0-3d6015480645}</ProjectGuid>
@@ -29,7 +29,7 @@
29 <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>
30 </PropertyGroup>
31 <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets'))" />
32 - <Error Condition="!Exists('..\..\packages\WixToolset.MSBuild.4.0.0-build-0035\build\WixToolset.MSBuild.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.MSBuild.4.0.0-build-0035\build\WixToolset.MSBuild.props'))" />
32 + <Error Condition="!Exists('..\..\packages\WixToolset.MSBuild.4.0.0-build-0084\build\WixToolset.MSBuild.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.MSBuild.4.0.0-build-0084\build\WixToolset.MSBuild.props'))" />
33 </Target>
34 <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" />
35 </Project>