From dd8b4e6e1faf570c1233a7feb77f24751dcfc605 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 10 Apr 2020 09:24:44 +1000 Subject: Update dependencies. --- src/Directory.Build.props | 4 +++- src/FindLocalWix.props | 2 +- .../WixToolsetTest.Powershell.csproj | 13 ++++++++----- src/wixext/PSCompiler.cs | 4 ++-- src/wixlib/packages.config | 2 +- src/wixlib/powershell.wixproj | 4 ++-- 6 files changed, 17 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/Directory.Build.props b/src/Directory.Build.props index e853e22d..a22f4470 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -8,6 +8,7 @@ Debug false + MSB3246 $(MSBuildProjectName) $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\build\)) @@ -21,6 +22,7 @@ WiX Toolset - + + diff --git a/src/FindLocalWix.props b/src/FindLocalWix.props index a784e352..1666e4fe 100644 --- a/src/FindLocalWix.props +++ b/src/FindLocalWix.props @@ -3,6 +3,6 @@ - $(MSBuildThisFileDirectory)..\..\Tools\build\Debug\net461\wix.targets + $(MSBuildThisFileDirectory)..\..\Tools\build\Debug\net461\wix.targets diff --git a/src/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj b/src/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj index 0b5dfac4..69645fb7 100644 --- a/src/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj +++ b/src/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj @@ -3,7 +3,7 @@ - netcoreapp2.1 + netcoreapp3.1 false @@ -23,7 +23,10 @@ - + + + + @@ -31,8 +34,8 @@ - - - + + + diff --git a/src/wixext/PSCompiler.cs b/src/wixext/PSCompiler.cs index 200d3fb4..74e18bd7 100644 --- a/src/wixext/PSCompiler.cs +++ b/src/wixext/PSCompiler.cs @@ -181,7 +181,7 @@ namespace WixToolset.PowerShell wixVariableRow.Value = major.ToString(CultureInfo.InvariantCulture); wixVariableRow.Overridable = false; - int registryRoot = 2; // HKLM + RegistryRootType registryRoot = RegistryRootType.LocalMachine; // HKLM string registryKey = String.Format(CultureInfo.InvariantCulture, KeyFormat, major, id); this.ParseHelper.CreateRegistryRow(section, sourceLineNumbers, registryRoot, registryKey, "ApplicationBase", String.Format(CultureInfo.InvariantCulture, "[${0}]", componentId), componentId, false); @@ -274,7 +274,7 @@ namespace WixToolset.PowerShell this.ParseHelper.ParseForExtensionElements(this.Context.Extensions, intermediate, section, node); - int registryRoot = 2; // HKLM + RegistryRootType registryRoot = RegistryRootType.LocalMachine; // HKLM string registryKey = String.Format(CultureInfo.InvariantCulture, KeyFormat, String.Format(CultureInfo.InvariantCulture, "!(wix.{0}_{1})", VarPrefix, snapIn), snapIn); this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, "File", fileId); diff --git a/src/wixlib/packages.config b/src/wixlib/packages.config index 7964daed..e1b601f6 100644 --- a/src/wixlib/packages.config +++ b/src/wixlib/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/src/wixlib/powershell.wixproj b/src/wixlib/powershell.wixproj index eba605dc..c9135cae 100644 --- a/src/wixlib/powershell.wixproj +++ b/src/wixlib/powershell.wixproj @@ -1,7 +1,7 @@ - + {9d4ccdfc-840c-4d4e-a9b0-3d6015480645} @@ -29,7 +29,7 @@ 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}. - + -- cgit v1.2.3-55-g6feb