From ebe9e91768d9514e8dbd617aaa05366365a05cf7 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Sat, 11 Dec 2021 22:56:54 -0500 Subject: Switch to `net472` as Framework baseline. --- src/api/burn/burn.proj | 1 + src/api/wix/WixToolset.Data/WixToolset.Data.csproj | 2 +- .../WixToolset.Extensibility.csproj | 2 +- src/api/wix/wix.proj | 1 + .../WixBuildTools.MsgGen.csproj | 2 +- .../WixBuildTools.TestSupport.csproj | 2 +- .../WixBuildTools.XsdGen.csproj | 6 ++--- src/samples/Dtf/Tools/MakeSfxCA/MakeSfxCA.csproj | 2 +- .../WixToolset.BuildTasks.csproj | 6 ++--- .../WixToolset.Converters.Symbolizer.csproj | 3 +-- .../WixToolset.Converters.csproj | 2 +- .../WixToolset.Core.Burn.csproj | 2 +- .../WixToolset.Core.ExtensionCache.csproj | 2 +- .../WixToolset.Core.TestPackage.csproj | 2 +- .../WixToolset.Core.WindowsInstaller.csproj | 2 +- src/wix/WixToolset.Core/WixToolset.Core.csproj | 2 +- src/wix/WixToolset.Sdk/tools/wix.targets | 4 ++-- src/wix/heat/heat.csproj | 4 ++-- .../WixToolsetTest.BuildTasks.csproj | 2 +- .../WixToolsetTest.Converters.Symbolizer.csproj | 2 +- .../WixToolsetTest.Sdk/WixToolsetTest.Sdk.csproj | 2 +- src/wix/wix.cmd | 28 +++++++++++----------- src/wix/wix/wix.csproj | 4 ++-- 23 files changed, 43 insertions(+), 42 deletions(-) (limited to 'src') diff --git a/src/api/burn/burn.proj b/src/api/burn/burn.proj index 535f70e7..0aa838bf 100644 --- a/src/api/burn/burn.proj +++ b/src/api/burn/burn.proj @@ -27,6 +27,7 @@ + diff --git a/src/api/wix/WixToolset.Data/WixToolset.Data.csproj b/src/api/wix/WixToolset.Data/WixToolset.Data.csproj index 11c3fd98..d139bc73 100644 --- a/src/api/wix/WixToolset.Data/WixToolset.Data.csproj +++ b/src/api/wix/WixToolset.Data/WixToolset.Data.csproj @@ -4,7 +4,7 @@ netstandard2.0 - $(TargetFrameworks);net461;net472 + $(TargetFrameworks);net472 7.3 WiX Toolset Data embedded diff --git a/src/api/wix/WixToolset.Extensibility/WixToolset.Extensibility.csproj b/src/api/wix/WixToolset.Extensibility/WixToolset.Extensibility.csproj index 38bec1b0..86ee754d 100644 --- a/src/api/wix/WixToolset.Extensibility/WixToolset.Extensibility.csproj +++ b/src/api/wix/WixToolset.Extensibility/WixToolset.Extensibility.csproj @@ -4,7 +4,7 @@ netstandard2.0 - $(TargetFrameworks);net461;net472 + $(TargetFrameworks);net472 WiX Toolset Extensibility embedded diff --git a/src/api/wix/wix.proj b/src/api/wix/wix.proj index 3db83283..ea07e810 100644 --- a/src/api/wix/wix.proj +++ b/src/api/wix/wix.proj @@ -3,6 +3,7 @@ + diff --git a/src/internal/WixBuildTools.MsgGen/WixBuildTools.MsgGen.csproj b/src/internal/WixBuildTools.MsgGen/WixBuildTools.MsgGen.csproj index 421f0713..0be55c43 100644 --- a/src/internal/WixBuildTools.MsgGen/WixBuildTools.MsgGen.csproj +++ b/src/internal/WixBuildTools.MsgGen/WixBuildTools.MsgGen.csproj @@ -2,7 +2,7 @@ Exe - net461 + net472 true true embedded diff --git a/src/internal/WixBuildTools.TestSupport/WixBuildTools.TestSupport.csproj b/src/internal/WixBuildTools.TestSupport/WixBuildTools.TestSupport.csproj index 01166782..3006e784 100644 --- a/src/internal/WixBuildTools.TestSupport/WixBuildTools.TestSupport.csproj +++ b/src/internal/WixBuildTools.TestSupport/WixBuildTools.TestSupport.csproj @@ -4,7 +4,7 @@ - netstandard2.0;net461;net472 + netstandard2.0;net472 true embedded true diff --git a/src/internal/WixBuildTools.XsdGen/WixBuildTools.XsdGen.csproj b/src/internal/WixBuildTools.XsdGen/WixBuildTools.XsdGen.csproj index 65a65bd0..dd5a8272 100644 --- a/src/internal/WixBuildTools.XsdGen/WixBuildTools.XsdGen.csproj +++ b/src/internal/WixBuildTools.XsdGen/WixBuildTools.XsdGen.csproj @@ -2,8 +2,8 @@ Exe - - net461 + + net472 true false true @@ -17,7 +17,7 @@ - + diff --git a/src/samples/Dtf/Tools/MakeSfxCA/MakeSfxCA.csproj b/src/samples/Dtf/Tools/MakeSfxCA/MakeSfxCA.csproj index 858db59c..25b2cdb8 100644 --- a/src/samples/Dtf/Tools/MakeSfxCA/MakeSfxCA.csproj +++ b/src/samples/Dtf/Tools/MakeSfxCA/MakeSfxCA.csproj @@ -3,7 +3,7 @@ - netcoreapp3.1;net461 + netcoreapp3.1;net472 Exe WixToolset.Dtf.Tools.MakeSfxCA MakeSfxCA diff --git a/src/wix/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj b/src/wix/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj index 64a82e98..c8fc64c3 100644 --- a/src/wix/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj +++ b/src/wix/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj @@ -3,7 +3,7 @@ - netcoreapp3.1;net461 + netcoreapp3.1;net472 WiX Toolset MSBuild Tasks embedded @@ -17,14 +17,14 @@ - + - + diff --git a/src/wix/WixToolset.Converters.Symbolizer/WixToolset.Converters.Symbolizer.csproj b/src/wix/WixToolset.Converters.Symbolizer/WixToolset.Converters.Symbolizer.csproj index 42e60ebb..0c3ba4f0 100644 --- a/src/wix/WixToolset.Converters.Symbolizer/WixToolset.Converters.Symbolizer.csproj +++ b/src/wix/WixToolset.Converters.Symbolizer/WixToolset.Converters.Symbolizer.csproj @@ -5,7 +5,7 @@ netstandard2.0 - $(TargetFrameworks);net461;net472 + $(TargetFrameworks);net472 Symbolizer WiX Toolset Converters Tuplizer embedded @@ -15,7 +15,6 @@ - diff --git a/src/wix/WixToolset.Converters/WixToolset.Converters.csproj b/src/wix/WixToolset.Converters/WixToolset.Converters.csproj index 65c0134a..2372b481 100644 --- a/src/wix/WixToolset.Converters/WixToolset.Converters.csproj +++ b/src/wix/WixToolset.Converters/WixToolset.Converters.csproj @@ -5,7 +5,7 @@ netstandard2.0 - $(TargetFrameworks);net461;net472 + $(TargetFrameworks);net472 Converter WiX Toolset Converters embedded diff --git a/src/wix/WixToolset.Core.Burn/WixToolset.Core.Burn.csproj b/src/wix/WixToolset.Core.Burn/WixToolset.Core.Burn.csproj index 3527b85a..46f2583d 100644 --- a/src/wix/WixToolset.Core.Burn/WixToolset.Core.Burn.csproj +++ b/src/wix/WixToolset.Core.Burn/WixToolset.Core.Burn.csproj @@ -4,7 +4,7 @@ netstandard2.0 - $(TargetFrameworks);net461;net472 + $(TargetFrameworks);net472 Core Burn WiX Toolset Core Burn embedded diff --git a/src/wix/WixToolset.Core.ExtensionCache/WixToolset.Core.ExtensionCache.csproj b/src/wix/WixToolset.Core.ExtensionCache/WixToolset.Core.ExtensionCache.csproj index 61dce8b0..50eab19e 100644 --- a/src/wix/WixToolset.Core.ExtensionCache/WixToolset.Core.ExtensionCache.csproj +++ b/src/wix/WixToolset.Core.ExtensionCache/WixToolset.Core.ExtensionCache.csproj @@ -4,7 +4,7 @@ netstandard2.0 - $(TargetFrameworks);net461;net472 + $(TargetFrameworks);net472 Extension Cache WiX Toolset Extension Cache embedded diff --git a/src/wix/WixToolset.Core.TestPackage/WixToolset.Core.TestPackage.csproj b/src/wix/WixToolset.Core.TestPackage/WixToolset.Core.TestPackage.csproj index 82c60120..bda54cd1 100644 --- a/src/wix/WixToolset.Core.TestPackage/WixToolset.Core.TestPackage.csproj +++ b/src/wix/WixToolset.Core.TestPackage/WixToolset.Core.TestPackage.csproj @@ -4,7 +4,7 @@ netstandard2.0 - $(TargetFrameworks);net461;net472 + $(TargetFrameworks);net472 Internal WiX Toolset Test Package embedded true diff --git a/src/wix/WixToolset.Core.WindowsInstaller/WixToolset.Core.WindowsInstaller.csproj b/src/wix/WixToolset.Core.WindowsInstaller/WixToolset.Core.WindowsInstaller.csproj index 65f4e4ca..fa4ae68c 100644 --- a/src/wix/WixToolset.Core.WindowsInstaller/WixToolset.Core.WindowsInstaller.csproj +++ b/src/wix/WixToolset.Core.WindowsInstaller/WixToolset.Core.WindowsInstaller.csproj @@ -4,7 +4,7 @@ netstandard2.0 - $(TargetFrameworks);net461;net472 + $(TargetFrameworks);net472 Core Windows Installer WiX Toolset Core Windows Installer embedded diff --git a/src/wix/WixToolset.Core/WixToolset.Core.csproj b/src/wix/WixToolset.Core/WixToolset.Core.csproj index 8f47eda3..71742b66 100644 --- a/src/wix/WixToolset.Core/WixToolset.Core.csproj +++ b/src/wix/WixToolset.Core/WixToolset.Core.csproj @@ -4,7 +4,7 @@ netstandard2.0 - $(TargetFrameworks);net461;net472 + $(TargetFrameworks);net472 Core WiX Toolset Core embedded diff --git a/src/wix/WixToolset.Sdk/tools/wix.targets b/src/wix/WixToolset.Sdk/tools/wix.targets index 5044bf5e..fde969e6 100644 --- a/src/wix/WixToolset.Sdk/tools/wix.targets +++ b/src/wix/WixToolset.Sdk/tools/wix.targets @@ -20,8 +20,8 @@ $(MSBuildThisFileDirectory)netcoreapp3.1\ - $(MSBuildThisFileDirectory)net461\x86\ - $(MSBuildThisFileDirectory)net461\x64\ + $(MSBuildThisFileDirectory)net472\x86\ + $(MSBuildThisFileDirectory)net472\x64\ $(WixBinDir)WixToolset.BuildTasks.dll $(WixBinDir64)WixToolset.BuildTasks.dll diff --git a/src/wix/heat/heat.csproj b/src/wix/heat/heat.csproj index 2aa0c278..341a2083 100644 --- a/src/wix/heat/heat.csproj +++ b/src/wix/heat/heat.csproj @@ -3,7 +3,7 @@ - netcoreapp3.1;net461 + netcoreapp3.1;net472 Exe Harvester WiX Harvester @@ -46,7 +46,7 @@ - + diff --git a/src/wix/test/WixToolsetTest.BuildTasks/WixToolsetTest.BuildTasks.csproj b/src/wix/test/WixToolsetTest.BuildTasks/WixToolsetTest.BuildTasks.csproj index dc442e6f..b166ba64 100644 --- a/src/wix/test/WixToolsetTest.BuildTasks/WixToolsetTest.BuildTasks.csproj +++ b/src/wix/test/WixToolsetTest.BuildTasks/WixToolsetTest.BuildTasks.csproj @@ -3,7 +3,7 @@ - net461 + net472 false embedded win-x86 diff --git a/src/wix/test/WixToolsetTest.Converters.Symbolizer/WixToolsetTest.Converters.Symbolizer.csproj b/src/wix/test/WixToolsetTest.Converters.Symbolizer/WixToolsetTest.Converters.Symbolizer.csproj index 0fa05242..5a35aeeb 100644 --- a/src/wix/test/WixToolsetTest.Converters.Symbolizer/WixToolsetTest.Converters.Symbolizer.csproj +++ b/src/wix/test/WixToolsetTest.Converters.Symbolizer/WixToolsetTest.Converters.Symbolizer.csproj @@ -3,7 +3,7 @@ - net461 + net472 false false diff --git a/src/wix/test/WixToolsetTest.Sdk/WixToolsetTest.Sdk.csproj b/src/wix/test/WixToolsetTest.Sdk/WixToolsetTest.Sdk.csproj index 4716f6d7..8f40efee 100644 --- a/src/wix/test/WixToolsetTest.Sdk/WixToolsetTest.Sdk.csproj +++ b/src/wix/test/WixToolsetTest.Sdk/WixToolsetTest.Sdk.csproj @@ -3,7 +3,7 @@ - net461 + net472 false embedded TestData\**;$(DefaultItemExcludes) diff --git a/src/wix/wix.cmd b/src/wix/wix.cmd index 8bf60e85..11b5582f 100644 --- a/src/wix/wix.cmd +++ b/src/wix/wix.cmd @@ -37,19 +37,19 @@ dotnet test -c %_C% --no-build test\WixToolsetTest.Heat || exit /b :: Publish msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=netcoreapp3.1 -p:PublishDir=%_P%wix\ wix\wix.csproj || exit /b -msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net461 -p:RuntimeIdentifier=win-x86 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net461\x86\buildtasks\ WixToolset.BuildTasks\WixToolset.BuildTasks.csproj || exit /b -msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net461 -p:RuntimeIdentifier=win-x86 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net461\x86\heat\ heat\heat.csproj || exit /b -msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net461 -p:RuntimeIdentifier=win-x86 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net461\x86\wix\ wix\wix.csproj || exit /b -robocopy %_P_OBJ%\WixToolset.Sdk\separate\net461\x86\buildtasks %_P%\WixToolset.Sdk\tools\net461\x86 %_RCO% /XF Microsoft.Build.*.dll -robocopy %_P_OBJ%\WixToolset.Sdk\separate\net461\x86\heat %_P%\WixToolset.Sdk\tools\net461\x86 %_RCO% -robocopy %_P_OBJ%\WixToolset.Sdk\separate\net461\x86\wix %_P%\WixToolset.Sdk\tools\net461\x86 %_RCO% - -msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net461 -p:RuntimeIdentifier=win-x64 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net461\x64\buildtasks\ WixToolset.BuildTasks\WixToolset.BuildTasks.csproj || exit /b -msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net461 -p:RuntimeIdentifier=win-x64 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net461\x64\heat\ heat\heat.csproj || exit /b -msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net461 -p:RuntimeIdentifier=win-x64 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net461\x64\wix\ wix\wix.csproj || exit /b -robocopy %_P_OBJ%\WixToolset.Sdk\separate\net461\x64\buildtasks %_P%\WixToolset.Sdk\tools\net461\x64 %_RCO% /XF Microsoft.Build.*.dll -robocopy %_P_OBJ%\WixToolset.Sdk\separate\net461\x64\heat %_P%\WixToolset.Sdk\tools\net461\x64 %_RCO% -robocopy %_P_OBJ%\WixToolset.Sdk\separate\net461\x64\wix %_P%\WixToolset.Sdk\tools\net461\x64 %_RCO% +msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net472 -p:RuntimeIdentifier=win-x86 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net472\x86\buildtasks\ WixToolset.BuildTasks\WixToolset.BuildTasks.csproj || exit /b +msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net472 -p:RuntimeIdentifier=win-x86 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net472\x86\heat\ heat\heat.csproj || exit /b +msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net472 -p:RuntimeIdentifier=win-x86 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net472\x86\wix\ wix\wix.csproj || exit /b +robocopy %_P_OBJ%\WixToolset.Sdk\separate\net472\x86\buildtasks %_P%\WixToolset.Sdk\tools\net472\x86 %_RCO% /XF Microsoft.Build.*.dll +robocopy %_P_OBJ%\WixToolset.Sdk\separate\net472\x86\heat %_P%\WixToolset.Sdk\tools\net472\x86 %_RCO% +robocopy %_P_OBJ%\WixToolset.Sdk\separate\net472\x86\wix %_P%\WixToolset.Sdk\tools\net472\x86 %_RCO% + +msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net472 -p:RuntimeIdentifier=win-x64 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net472\x64\buildtasks\ WixToolset.BuildTasks\WixToolset.BuildTasks.csproj || exit /b +msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net472 -p:RuntimeIdentifier=win-x64 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net472\x64\heat\ heat\heat.csproj || exit /b +msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=net472 -p:RuntimeIdentifier=win-x64 -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\net472\x64\wix\ wix\wix.csproj || exit /b +robocopy %_P_OBJ%\WixToolset.Sdk\separate\net472\x64\buildtasks %_P%\WixToolset.Sdk\tools\net472\x64 %_RCO% /XF Microsoft.Build.*.dll +robocopy %_P_OBJ%\WixToolset.Sdk\separate\net472\x64\heat %_P%\WixToolset.Sdk\tools\net472\x64 %_RCO% +robocopy %_P_OBJ%\WixToolset.Sdk\separate\net472\x64\wix %_P%\WixToolset.Sdk\tools\net472\x64 %_RCO% msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=netcoreapp3.1 -p:UseAppHost=false -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\netcoreapp3.1\buildtasks\ WixToolset.BuildTasks\WixToolset.BuildTasks.csproj || exit /b msbuild -t:Publish -p:Configuration=%_C% -p:TargetFramework=netcoreapp3.1 -p:UseAppHost=false -p:PublishDir=%_P_OBJ%WixToolset.Sdk\separate\netcoreapp3.1\heat\ heat\heat.csproj || exit /b @@ -61,7 +61,7 @@ robocopy %_P_OBJ%\WixToolset.Sdk\separate\netcoreapp3.1\wix %_P%\WixToolset.Sdk\ msbuild -t:Publish -p:Configuration=%_C% -p:PublishDir=%_P%WixToolset.Sdk\ WixToolset.Sdk\WixToolset.Sdk.csproj || exit /b :: TODO - used by MsbuildFixture.ReportsInnerExceptionForUnexpectedExceptions test -:: msbuild -t:Publish -Restore -p:Configuration=%_C% -p:TargetFramework=net461 -p:RuntimeIdentifier=linux-x86 -p:PublishDir=%_P%WixToolset.Sdk\broken\net461\ wix\wix.csproj || exit /b +:: msbuild -t:Publish -Restore -p:Configuration=%_C% -p:TargetFramework=net472 -p:RuntimeIdentifier=linux-x86 -p:PublishDir=%_P%WixToolset.Sdk\broken\net472\ wix\wix.csproj || exit /b :: Test diff --git a/src/wix/wix/wix.csproj b/src/wix/wix/wix.csproj index 34185a06..cdf4fbe7 100644 --- a/src/wix/wix/wix.csproj +++ b/src/wix/wix/wix.csproj @@ -3,7 +3,7 @@ - netcoreapp3.1;net461 + netcoreapp3.1;net472 Exe WiX Toolset creates installation packages. embedded @@ -20,7 +20,7 @@ NU1701 - + -- cgit v1.2.3-55-g6feb