aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Directory.csproj.targets1
-rw-r--r--src/api/api.cmd4
-rw-r--r--src/api/burn/test/WixToolsetTest.BootstrapperApplicationApi/WixToolsetTest.BootstrapperApplicationApi.csproj2
-rw-r--r--src/api/wix/test/WixToolsetTest.Data/WixToolsetTest.Data.csproj2
-rw-r--r--src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/WixToolsetTest.BootstrapperApplications.csproj2
-rw-r--r--src/ext/Bal/test/examples/EarliestCoreMBA/Example.EarliestCoreMBA.csproj2
-rw-r--r--src/ext/Bal/test/examples/LatestCoreMBA/Example.LatestCoreMBA.csproj2
-rw-r--r--src/ext/Bal/test/examples/WPFCoreMBA/Example.WPFCoreMBA.csproj2
-rw-r--r--src/ext/Bal/wixext-backward-compatible/WixToolset.Bal.wixext.csproj2
-rw-r--r--src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs5
-rw-r--r--src/ext/ComPlus/test/WixToolsetTest.ComPlus/WixToolsetTest.ComPlus.csproj2
-rw-r--r--src/ext/Dependency/test/WixToolsetTest.Dependency/DependencyExtensionFixture.cs5
-rw-r--r--src/ext/Dependency/test/WixToolsetTest.Dependency/WixToolsetTest.Dependency.csproj2
-rw-r--r--src/ext/DirectX/test/WixToolsetTest.DirectX/DirectXExtensionFixture.cs5
-rw-r--r--src/ext/DirectX/test/WixToolsetTest.DirectX/WixToolsetTest.DirectX.csproj2
-rw-r--r--src/ext/Firewall/test/WixToolsetTest.Firewall/WixToolsetTest.Firewall.csproj2
-rw-r--r--src/ext/Http/test/WixToolsetTest.Http/WixToolsetTest.Http.csproj2
-rw-r--r--src/ext/Iis/test/WixToolsetTest.Iis/IisExtensionFixture.cs4
-rw-r--r--src/ext/Iis/test/WixToolsetTest.Iis/WixToolsetTest.Iis.csproj2
-rw-r--r--src/ext/Msmq/test/WixToolsetTest.Msmq/MsmqExtensionFixture.cs5
-rw-r--r--src/ext/Msmq/test/WixToolsetTest.Msmq/WixToolsetTest.Msmq.csproj2
-rw-r--r--src/ext/NetFx/netcoresearch/netcoresearch.vcxproj4
-rw-r--r--src/ext/NetFx/netcoresearch/packages.config14
-rw-r--r--src/ext/NetFx/test/WixToolsetTest.Netfx/WixToolsetTest.Netfx.csproj2
-rw-r--r--src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs5
-rw-r--r--src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj2
-rw-r--r--src/ext/Sql/test/WixToolsetTest.Sql/SqlExtensionFixture.cs5
-rw-r--r--src/ext/Sql/test/WixToolsetTest.Sql/WixToolsetTest.Sql.csproj2
-rw-r--r--src/ext/UI/test/WixToolsetTest.UI/WixToolsetTest.UI.csproj2
-rw-r--r--src/ext/Util/test/WixToolsetTest.Util/UtilExtensionFixture.cs2
-rw-r--r--src/ext/Util/test/WixToolsetTest.Util/WixToolsetTest.Util.csproj2
-rw-r--r--src/ext/VisualStudio/test/WixToolsetTest.VisualStudio/VisualStudioExtensionFixture.cs5
-rw-r--r--src/ext/VisualStudio/test/WixToolsetTest.VisualStudio/WixToolsetTest.VisualStudio.csproj2
-rw-r--r--src/internal/SetBuildNumber/Directory.Packages.props.pp54
-rw-r--r--src/internal/SetBuildNumber/global.json.pp4
-rw-r--r--src/internal/WixInternal.MSTestSupport/MsbuildRunnerResult.cs2
-rw-r--r--src/internal/WixInternal.MSTestSupport/WixAssert.cs2
-rw-r--r--src/internal/WixInternal.MSTestSupport/WixInternal.MSTestSupport.csproj2
-rw-r--r--src/internal/WixInternal.TestSupport.Native/build/WixInternal.TestSupport.Native.props4
-rw-r--r--src/internal/WixInternal.TestSupport.Native/build/WixInternal.TestSupport.Native.targets18
-rw-r--r--src/internal/WixInternal.TestSupport.Native/packages.config12
-rw-r--r--src/libs/libs.cmd5
-rw-r--r--src/libs/test/WixToolsetTest.Versioning/WixToolsetTest.Versioning.csproj2
-rw-r--r--src/test/burn/Directory.wixproj.props2
-rw-r--r--src/test/burn/README.md10
-rw-r--r--src/test/burn/TestBA/TestBA.csproj2
-rw-r--r--src/test/burn/TestBA/TestBA_x64.csproj2
-rw-r--r--src/test/burn/TestData/CacheTests/BundleC/BundleC.wixproj2
-rw-r--r--src/test/burn/TestData/Manual/BundleB/BundleB.wixproj4
-rw-r--r--src/test/burn/TestData/PrereqBaTests/BundleA/BundleA.wixproj2
-rw-r--r--src/test/burn/TestData/PrereqBaTests/BundleC/BundleC.wixproj2
-rw-r--r--src/test/burn/TestData/PrereqBaTests/BundleE/BundleE.wixproj2
-rw-r--r--src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj2
-rw-r--r--src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj2
-rw-r--r--src/test/burn/TestExe/TestExe.csproj2
-rw-r--r--src/test/burn/WixTestTools/WixTestTools.csproj2
-rw-r--r--src/test/burn/WixToolset.WixBA/WixToolset.WixBA.csproj2
-rw-r--r--src/test/burn/WixToolset.WixBA/WixToolset.WixBA_x64.csproj2
-rw-r--r--src/test/burn/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj2
-rw-r--r--src/test/burn/test_burn.cmd4
-rw-r--r--src/test/msi/Directory.wixproj.props2
-rw-r--r--src/test/msi/README.md6
-rw-r--r--src/test/msi/WixToolsetTest.MsiE2E/WixToolsetTest.MsiE2E.csproj2
-rw-r--r--src/test/wix/TestData/CsprojClassLibraryMultiFramework/CsprojClassLibraryMultiFramework.csproj2
-rw-r--r--src/test/wix/TestData/CsprojClassLibraryMultiTarget/CsprojClassLibraryMultiTarget.csproj2
-rw-r--r--src/test/wix/TestData/CsprojConsoleMultiFramework/CsprojConsoleMultiFramework.csproj2
-rw-r--r--src/test/wix/TestData/CsprojConsoleNetCore/CsprojConsoleNetCore.csproj2
-rw-r--r--src/test/wix/TestData/CsprojWebApplicationNetCore/CsprojWebApplicationNetCore.csproj2
-rw-r--r--src/test/wix/TestData/WixprojLibraryMultiFramework/Library.wxs10
-rw-r--r--src/test/wix/TestData/WixprojLibraryMultiFramework/WixprojLibraryMultiFramework.wixproj4
-rw-r--r--src/test/wix/TestData/WixprojPackageCsprojWebApplicationNetCore/WixprojPackageCsprojWebApplicationNetCore.wixproj4
-rw-r--r--src/test/wix/TestData/WixprojPackageCsprojWpfNetCore/WixprojPackageCsprojWebApplicationNetCore.wixproj4
-rw-r--r--src/wix/WixInternal.Core.MSTestPackage/WixInternal.Core.MSTestPackage.csproj2
-rw-r--r--src/wix/WixInternal.Core.MSTestPackage/WixRunnerResult.cs6
-rw-r--r--src/wix/WixInternal.Core.TestPackage/WixInternal.Core.TestPackage.csproj2
-rw-r--r--src/wix/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj2
-rw-r--r--src/wix/WixToolset.Sdk/WixToolset.Sdk.csproj2
-rw-r--r--src/wix/WixToolset.Sdk/tools/wix.targets2
-rw-r--r--src/wix/pack-wix/pack-wix.csproj2
-rw-r--r--src/wix/pack-wix/pack-wix.nuspec4
-rw-r--r--src/wix/publish_t.proj10
-rw-r--r--src/wix/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj2
-rw-r--r--src/wix/test/Example.Extension/Example.Extension.csproj2
-rw-r--r--src/wix/test/WixToolsetTest.Converters/ConverterIntegrationFixture.cs2
-rw-r--r--src/wix/test/WixToolsetTest.Converters/UIExtensionFixture.cs2
-rw-r--r--src/wix/test/WixToolsetTest.Converters/WixToolsetTest.Converters.csproj2
-rw-r--r--src/wix/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj2
-rw-r--r--src/wix/test/WixToolsetTest.Core/WixToolsetTest.Core.csproj2
-rw-r--r--src/wix/test/WixToolsetTest.CoreIntegration/BundleExtractionFixture.cs2
-rw-r--r--src/wix/test/WixToolsetTest.CoreIntegration/BundleFixture.cs2
-rw-r--r--src/wix/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj2
-rw-r--r--src/wix/test/WixToolsetTest.CoreIntegration/WixlibFixture.cs6
-rw-r--r--src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs14
-rw-r--r--src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageReleaseAndDebug/Package.wxs16
-rw-r--r--src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageReleaseAndDebug/PackageReleaseAndDebug.wixproj2
-rw-r--r--src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingExplicitTfmAndRids/Package.wxs8
-rw-r--r--src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingExplicitTfmAndRids/PackageUsingExplicitTfmAndRids.wixproj2
-rw-r--r--src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingRids/Package.wxs8
-rw-r--r--src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingRids/PackageUsingRids.wixproj2
-rw-r--r--src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/TestExe/TestExe.csproj2
-rw-r--r--src/wix/test/WixToolsetTest.Sdk/WixToolsetTest.Sdk.csproj4
-rw-r--r--src/wix/wix.cmd8
-rw-r--r--src/wix/wix/wix.csproj4
103 files changed, 222 insertions, 203 deletions
diff --git a/src/Directory.csproj.targets b/src/Directory.csproj.targets
index d5bfb960..dbf9d604 100644
--- a/src/Directory.csproj.targets
+++ b/src/Directory.csproj.targets
@@ -26,7 +26,6 @@
26 <PackageReference Include="xunit.runner.visualstudio" PrivateAssets="All" /> 26 <PackageReference Include="xunit.runner.visualstudio" PrivateAssets="All" />
27 </ItemGroup> 27 </ItemGroup>
28 28
29
30 <ItemGroup Condition=" '$(IsWixTestProject)'!='true' "> 29 <ItemGroup Condition=" '$(IsWixTestProject)'!='true' ">
31 <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> 30 <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
32 </ItemGroup> 31 </ItemGroup>
diff --git a/src/api/api.cmd b/src/api/api.cmd
index cae0cf5a..42ca8567 100644
--- a/src/api/api.cmd
+++ b/src/api/api.cmd
@@ -27,8 +27,8 @@ msbuild api_t.proj -p:Configuration=%_C% -tl -nologo -warnaserror -bl:%_L%\api_b
27 27
28:: Test 28:: Test
29dotnet test ^ 29dotnet test ^
30 %_B%\net6.0\WixToolsetTest.Data.dll ^ 30 %_B%\net8.0\WixToolsetTest.Data.dll ^
31 %_B%\net6.0\win-x86\WixToolsetTest.BootstrapperApplicationApi.dll ^ 31 %_B%\net8.0\win-x86\WixToolsetTest.BootstrapperApplicationApi.dll ^
32 %_B%\x86\BalUtilUnitTest.dll ^ 32 %_B%\x86\BalUtilUnitTest.dll ^
33 %_B%\x86\BextUtilUnitTest.dll ^ 33 %_B%\x86\BextUtilUnitTest.dll ^
34 --nologo -l "trx;LogFileName=%_L%\TestResults\api.trx" || exit /b 34 --nologo -l "trx;LogFileName=%_L%\TestResults\api.trx" || exit /b
diff --git a/src/api/burn/test/WixToolsetTest.BootstrapperApplicationApi/WixToolsetTest.BootstrapperApplicationApi.csproj b/src/api/burn/test/WixToolsetTest.BootstrapperApplicationApi/WixToolsetTest.BootstrapperApplicationApi.csproj
index 1a8014a4..4b2d273b 100644
--- a/src/api/burn/test/WixToolsetTest.BootstrapperApplicationApi/WixToolsetTest.BootstrapperApplicationApi.csproj
+++ b/src/api/burn/test/WixToolsetTest.BootstrapperApplicationApi/WixToolsetTest.BootstrapperApplicationApi.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <RuntimeIdentifier>win-x86</RuntimeIdentifier> 7 <RuntimeIdentifier>win-x86</RuntimeIdentifier>
8 <SelfContained>false</SelfContained> 8 <SelfContained>false</SelfContained>
9 <IsWixTestProject>true</IsWixTestProject> 9 <IsWixTestProject>true</IsWixTestProject>
diff --git a/src/api/wix/test/WixToolsetTest.Data/WixToolsetTest.Data.csproj b/src/api/wix/test/WixToolsetTest.Data/WixToolsetTest.Data.csproj
index ea26bea8..688e23f5 100644
--- a/src/api/wix/test/WixToolsetTest.Data/WixToolsetTest.Data.csproj
+++ b/src/api/wix/test/WixToolsetTest.Data/WixToolsetTest.Data.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixTestProject>true</IsWixTestProject> 7 <IsWixTestProject>true</IsWixTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/WixToolsetTest.BootstrapperApplications.csproj b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/WixToolsetTest.BootstrapperApplications.csproj
index 6a9b5856..b2672472 100644
--- a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/WixToolsetTest.BootstrapperApplications.csproj
+++ b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/WixToolsetTest.BootstrapperApplications.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/Bal/test/examples/EarliestCoreMBA/Example.EarliestCoreMBA.csproj b/src/ext/Bal/test/examples/EarliestCoreMBA/Example.EarliestCoreMBA.csproj
index 93ceb7d4..73428ece 100644
--- a/src/ext/Bal/test/examples/EarliestCoreMBA/Example.EarliestCoreMBA.csproj
+++ b/src/ext/Bal/test/examples/EarliestCoreMBA/Example.EarliestCoreMBA.csproj
@@ -1,7 +1,7 @@
1<Project Sdk="Microsoft.NET.Sdk"> 1<Project Sdk="Microsoft.NET.Sdk">
2 2
3 <PropertyGroup> 3 <PropertyGroup>
4 <TargetFramework>net6.0</TargetFramework> 4 <TargetFramework>net8.0</TargetFramework>
5 <RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers> 5 <RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
6 <OutputType>WinExe</OutputType> 6 <OutputType>WinExe</OutputType>
7 <DebugType>embedded</DebugType> 7 <DebugType>embedded</DebugType>
diff --git a/src/ext/Bal/test/examples/LatestCoreMBA/Example.LatestCoreMBA.csproj b/src/ext/Bal/test/examples/LatestCoreMBA/Example.LatestCoreMBA.csproj
index 96587d26..a6302ad5 100644
--- a/src/ext/Bal/test/examples/LatestCoreMBA/Example.LatestCoreMBA.csproj
+++ b/src/ext/Bal/test/examples/LatestCoreMBA/Example.LatestCoreMBA.csproj
@@ -1,7 +1,7 @@
1<Project Sdk="Microsoft.NET.Sdk"> 1<Project Sdk="Microsoft.NET.Sdk">
2 2
3 <PropertyGroup> 3 <PropertyGroup>
4 <TargetFramework>net6.0</TargetFramework> 4 <TargetFramework>net8.0</TargetFramework>
5 <RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers> 5 <RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
6 <OutputType>WinExe</OutputType> 6 <OutputType>WinExe</OutputType>
7 <DebugType>embedded</DebugType> 7 <DebugType>embedded</DebugType>
diff --git a/src/ext/Bal/test/examples/WPFCoreMBA/Example.WPFCoreMBA.csproj b/src/ext/Bal/test/examples/WPFCoreMBA/Example.WPFCoreMBA.csproj
index 37639021..d5a721ec 100644
--- a/src/ext/Bal/test/examples/WPFCoreMBA/Example.WPFCoreMBA.csproj
+++ b/src/ext/Bal/test/examples/WPFCoreMBA/Example.WPFCoreMBA.csproj
@@ -2,7 +2,7 @@
2 2
3 <PropertyGroup> 3 <PropertyGroup>
4 <OutputType>WinExe</OutputType> 4 <OutputType>WinExe</OutputType>
5 <TargetFramework>net6.0-windows</TargetFramework> 5 <TargetFramework>net8.0-windows</TargetFramework>
6 <RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers> 6 <RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
7 <Description>WPF .NET Core MBA</Description> 7 <Description>WPF .NET Core MBA</Description>
8 <UseWPF>true</UseWPF> 8 <UseWPF>true</UseWPF>
diff --git a/src/ext/Bal/wixext-backward-compatible/WixToolset.Bal.wixext.csproj b/src/ext/Bal/wixext-backward-compatible/WixToolset.Bal.wixext.csproj
index 91253621..4585efbf 100644
--- a/src/ext/Bal/wixext-backward-compatible/WixToolset.Bal.wixext.csproj
+++ b/src/ext/Bal/wixext-backward-compatible/WixToolset.Bal.wixext.csproj
@@ -5,7 +5,7 @@
5 <Import Project="..\..\WixExt.props" /> 5 <Import Project="..\..\WixExt.props" />
6 6
7 <PropertyGroup> 7 <PropertyGroup>
8 <TargetFramework>net6.0</TargetFramework> 8 <TargetFramework>net8.0</TargetFramework>
9 <IncludeBuildOutput>false</IncludeBuildOutput> 9 <IncludeBuildOutput>false</IncludeBuildOutput>
10 <Title>WiX Toolset BootstrapperApplications extension</Title> 10 <Title>WiX Toolset BootstrapperApplications extension</Title>
11 <Description>WiX Toolset BootstrapperApplications extension</Description> 11 <Description>WiX Toolset BootstrapperApplications extension</Description>
diff --git a/src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs b/src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs
index 7b38ef54..ef3c8b00 100644
--- a/src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs
+++ b/src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs
@@ -1,9 +1,12 @@
1// 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. 1// 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.
2 2
3using Microsoft.VisualStudio.TestTools.UnitTesting;
4
5[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
6
3namespace WixToolsetTest.ComPlus 7namespace WixToolsetTest.ComPlus
4{ 8{
5 using System.Linq; 9 using System.Linq;
6 using Microsoft.VisualStudio.TestTools.UnitTesting;
7 using WixInternal.MSTestSupport; 10 using WixInternal.MSTestSupport;
8 using WixInternal.Core.MSTestPackage; 11 using WixInternal.Core.MSTestPackage;
9 using WixToolset.ComPlus; 12 using WixToolset.ComPlus;
diff --git a/src/ext/ComPlus/test/WixToolsetTest.ComPlus/WixToolsetTest.ComPlus.csproj b/src/ext/ComPlus/test/WixToolsetTest.ComPlus/WixToolsetTest.ComPlus.csproj
index d0a7081b..2bd2e48f 100644
--- a/src/ext/ComPlus/test/WixToolsetTest.ComPlus/WixToolsetTest.ComPlus.csproj
+++ b/src/ext/ComPlus/test/WixToolsetTest.ComPlus/WixToolsetTest.ComPlus.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/Dependency/test/WixToolsetTest.Dependency/DependencyExtensionFixture.cs b/src/ext/Dependency/test/WixToolsetTest.Dependency/DependencyExtensionFixture.cs
index ade2a12e..4104395f 100644
--- a/src/ext/Dependency/test/WixToolsetTest.Dependency/DependencyExtensionFixture.cs
+++ b/src/ext/Dependency/test/WixToolsetTest.Dependency/DependencyExtensionFixture.cs
@@ -1,10 +1,13 @@
1// 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. 1// 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.
2 2
3using Microsoft.VisualStudio.TestTools.UnitTesting;
4
5[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
6
3namespace WixToolsetTest.Dependency 7namespace WixToolsetTest.Dependency
4{ 8{
5 using System.Linq; 9 using System.Linq;
6 using System.Text.RegularExpressions; 10 using System.Text.RegularExpressions;
7 using Microsoft.VisualStudio.TestTools.UnitTesting;
8 using WixInternal.MSTestSupport; 11 using WixInternal.MSTestSupport;
9 using WixInternal.Core.MSTestPackage; 12 using WixInternal.Core.MSTestPackage;
10 using WixToolset.Dependency; 13 using WixToolset.Dependency;
diff --git a/src/ext/Dependency/test/WixToolsetTest.Dependency/WixToolsetTest.Dependency.csproj b/src/ext/Dependency/test/WixToolsetTest.Dependency/WixToolsetTest.Dependency.csproj
index 1fd46c63..7f531a22 100644
--- a/src/ext/Dependency/test/WixToolsetTest.Dependency/WixToolsetTest.Dependency.csproj
+++ b/src/ext/Dependency/test/WixToolsetTest.Dependency/WixToolsetTest.Dependency.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/DirectX/test/WixToolsetTest.DirectX/DirectXExtensionFixture.cs b/src/ext/DirectX/test/WixToolsetTest.DirectX/DirectXExtensionFixture.cs
index dceaaec5..d4c3d9a5 100644
--- a/src/ext/DirectX/test/WixToolsetTest.DirectX/DirectXExtensionFixture.cs
+++ b/src/ext/DirectX/test/WixToolsetTest.DirectX/DirectXExtensionFixture.cs
@@ -1,9 +1,12 @@
1// 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. 1// 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.
2 2
3using Microsoft.VisualStudio.TestTools.UnitTesting;
4
5[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
6
3namespace WixToolsetTest.DirectX 7namespace WixToolsetTest.DirectX
4{ 8{
5 using System.Linq; 9 using System.Linq;
6 using Microsoft.VisualStudio.TestTools.UnitTesting;
7 using WixInternal.MSTestSupport; 10 using WixInternal.MSTestSupport;
8 using WixInternal.Core.MSTestPackage; 11 using WixInternal.Core.MSTestPackage;
9 using WixToolset.DirectX; 12 using WixToolset.DirectX;
diff --git a/src/ext/DirectX/test/WixToolsetTest.DirectX/WixToolsetTest.DirectX.csproj b/src/ext/DirectX/test/WixToolsetTest.DirectX/WixToolsetTest.DirectX.csproj
index c13f3300..abbe7541 100644
--- a/src/ext/DirectX/test/WixToolsetTest.DirectX/WixToolsetTest.DirectX.csproj
+++ b/src/ext/DirectX/test/WixToolsetTest.DirectX/WixToolsetTest.DirectX.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/Firewall/test/WixToolsetTest.Firewall/WixToolsetTest.Firewall.csproj b/src/ext/Firewall/test/WixToolsetTest.Firewall/WixToolsetTest.Firewall.csproj
index 5de88c8b..be2ddd36 100644
--- a/src/ext/Firewall/test/WixToolsetTest.Firewall/WixToolsetTest.Firewall.csproj
+++ b/src/ext/Firewall/test/WixToolsetTest.Firewall/WixToolsetTest.Firewall.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/Http/test/WixToolsetTest.Http/WixToolsetTest.Http.csproj b/src/ext/Http/test/WixToolsetTest.Http/WixToolsetTest.Http.csproj
index d5e6c929..759787bf 100644
--- a/src/ext/Http/test/WixToolsetTest.Http/WixToolsetTest.Http.csproj
+++ b/src/ext/Http/test/WixToolsetTest.Http/WixToolsetTest.Http.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/Iis/test/WixToolsetTest.Iis/IisExtensionFixture.cs b/src/ext/Iis/test/WixToolsetTest.Iis/IisExtensionFixture.cs
index 01a89dc0..7e4912e2 100644
--- a/src/ext/Iis/test/WixToolsetTest.Iis/IisExtensionFixture.cs
+++ b/src/ext/Iis/test/WixToolsetTest.Iis/IisExtensionFixture.cs
@@ -1,5 +1,9 @@
1// 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. 1// 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.
2 2
3using Microsoft.VisualStudio.TestTools.UnitTesting;
4
5[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
6
3namespace WixToolsetTest.Iis 7namespace WixToolsetTest.Iis
4{ 8{
5 using System.Linq; 9 using System.Linq;
diff --git a/src/ext/Iis/test/WixToolsetTest.Iis/WixToolsetTest.Iis.csproj b/src/ext/Iis/test/WixToolsetTest.Iis/WixToolsetTest.Iis.csproj
index a0a6e043..7b9afedf 100644
--- a/src/ext/Iis/test/WixToolsetTest.Iis/WixToolsetTest.Iis.csproj
+++ b/src/ext/Iis/test/WixToolsetTest.Iis/WixToolsetTest.Iis.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/Msmq/test/WixToolsetTest.Msmq/MsmqExtensionFixture.cs b/src/ext/Msmq/test/WixToolsetTest.Msmq/MsmqExtensionFixture.cs
index 60335b8a..95ec7874 100644
--- a/src/ext/Msmq/test/WixToolsetTest.Msmq/MsmqExtensionFixture.cs
+++ b/src/ext/Msmq/test/WixToolsetTest.Msmq/MsmqExtensionFixture.cs
@@ -1,12 +1,15 @@
1// 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. 1// 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.
2 2
3using Microsoft.VisualStudio.TestTools.UnitTesting;
4
5[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
6
3namespace WixToolsetTest.Msmq 7namespace WixToolsetTest.Msmq
4{ 8{
5 using System.Data; 9 using System.Data;
6 using System.IO; 10 using System.IO;
7 using System.Linq; 11 using System.Linq;
8 using System.Xml.Linq; 12 using System.Xml.Linq;
9 using Microsoft.VisualStudio.TestTools.UnitTesting;
10 using WixInternal.MSTestSupport; 13 using WixInternal.MSTestSupport;
11 using WixInternal.Core.MSTestPackage; 14 using WixInternal.Core.MSTestPackage;
12 using WixToolset.Msmq; 15 using WixToolset.Msmq;
diff --git a/src/ext/Msmq/test/WixToolsetTest.Msmq/WixToolsetTest.Msmq.csproj b/src/ext/Msmq/test/WixToolsetTest.Msmq/WixToolsetTest.Msmq.csproj
index a8991c2e..f41cc2e9 100644
--- a/src/ext/Msmq/test/WixToolsetTest.Msmq/WixToolsetTest.Msmq.csproj
+++ b/src/ext/Msmq/test/WixToolsetTest.Msmq/WixToolsetTest.Msmq.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/NetFx/netcoresearch/netcoresearch.vcxproj b/src/ext/NetFx/netcoresearch/netcoresearch.vcxproj
index a73192d0..b6e193dc 100644
--- a/src/ext/NetFx/netcoresearch/netcoresearch.vcxproj
+++ b/src/ext/NetFx/netcoresearch/netcoresearch.vcxproj
@@ -42,8 +42,8 @@
42 <PropertyGroup> 42 <PropertyGroup>
43 <NetHostPlatform>$(Platform)</NetHostPlatform> 43 <NetHostPlatform>$(Platform)</NetHostPlatform>
44 <NetHostPlatform Condition=" '$(NetHostPlatform)'=='Win32' ">x86</NetHostPlatform> 44 <NetHostPlatform Condition=" '$(NetHostPlatform)'=='Win32' ">x86</NetHostPlatform>
45 <NetHostPath>..\..\..\..\packages\runtime.win-$(NetHostPlatform).Microsoft.NETCore.DotNetAppHost.6.0.4\runtimes\win-$(NetHostPlatform)\native\</NetHostPath> 45 <NetHostPath>..\..\..\..\packages\runtime.win-$(NetHostPlatform).Microsoft.NETCore.DotNetAppHost.8.0.21\runtimes\win-$(NetHostPlatform)\native\</NetHostPath>
46 <HostfxrPath>..\..\..\..\packages\runtime.win-$(NetHostPlatform).Microsoft.NETCore.DotNetHostResolver.6.0.4\runtimes\win-$(NetHostPlatform)\native\</HostfxrPath> 46 <HostfxrPath>..\..\..\..\packages\runtime.win-$(NetHostPlatform).Microsoft.NETCore.DotNetHostResolver.8.0.21\runtimes\win-$(NetHostPlatform)\native\</HostfxrPath>
47 <ProjectAdditionalIncludeDirectories>$(NetHostPath)</ProjectAdditionalIncludeDirectories> 47 <ProjectAdditionalIncludeDirectories>$(NetHostPath)</ProjectAdditionalIncludeDirectories>
48 </PropertyGroup> 48 </PropertyGroup>
49 49
diff --git a/src/ext/NetFx/netcoresearch/packages.config b/src/ext/NetFx/netcoresearch/packages.config
index ad26db1c..235e6e08 100644
--- a/src/ext/NetFx/netcoresearch/packages.config
+++ b/src/ext/NetFx/netcoresearch/packages.config
@@ -1,9 +1,9 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2<packages> 2<packages>
3 <package id="runtime.win-arm64.Microsoft.NETCore.DotNetAppHost" version="6.0.4" targetFramework="native" /> 3 <package id="runtime.win-arm64.Microsoft.NETCore.DotNetAppHost" version="8.0.21" targetFramework="native" />
4 <package id="runtime.win-x64.Microsoft.NETCore.DotNetAppHost" version="6.0.4" targetFramework="native" /> 4 <package id="runtime.win-x64.Microsoft.NETCore.DotNetAppHost" version="8.0.21" targetFramework="native" />
5 <package id="runtime.win-x86.Microsoft.NETCore.DotNetAppHost" version="6.0.4" targetFramework="native" /> 5 <package id="runtime.win-x86.Microsoft.NETCore.DotNetAppHost" version="8.0.21" targetFramework="native" />
6 <package id="runtime.win-arm64.Microsoft.NETCore.DotNetHostResolver" version="6.0.4" targetFramework="native" /> 6 <package id="runtime.win-arm64.Microsoft.NETCore.DotNetHostResolver" version="8.0.21" targetFramework="native" />
7 <package id="runtime.win-x64.Microsoft.NETCore.DotNetHostResolver" version="6.0.4" targetFramework="native" /> 7 <package id="runtime.win-x64.Microsoft.NETCore.DotNetHostResolver" version="8.0.21" targetFramework="native" />
8 <package id="runtime.win-x86.Microsoft.NETCore.DotNetHostResolver" version="6.0.4" targetFramework="native" /> 8 <package id="runtime.win-x86.Microsoft.NETCore.DotNetHostResolver" version="8.0.21" targetFramework="native" />
9</packages> \ No newline at end of file 9</packages>
diff --git a/src/ext/NetFx/test/WixToolsetTest.Netfx/WixToolsetTest.Netfx.csproj b/src/ext/NetFx/test/WixToolsetTest.Netfx/WixToolsetTest.Netfx.csproj
index bdca49e6..c7f01717 100644
--- a/src/ext/NetFx/test/WixToolsetTest.Netfx/WixToolsetTest.Netfx.csproj
+++ b/src/ext/NetFx/test/WixToolsetTest.Netfx/WixToolsetTest.Netfx.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs
index a1dc3282..31090bf6 100644
--- a/src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs
+++ b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs
@@ -1,8 +1,11 @@
1// 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. 1// 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.
2 2
3using Microsoft.VisualStudio.TestTools.UnitTesting;
4
5[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
6
3namespace WixToolsetTest.PowerShell 7namespace WixToolsetTest.PowerShell
4{ 8{
5 using Microsoft.VisualStudio.TestTools.UnitTesting;
6 using WixInternal.MSTestSupport; 9 using WixInternal.MSTestSupport;
7 using WixInternal.Core.MSTestPackage; 10 using WixInternal.Core.MSTestPackage;
8 using WixToolset.PowerShell; 11 using WixToolset.PowerShell;
diff --git a/src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj
index cff13cb7..9f46f94e 100644
--- a/src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj
+++ b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/Sql/test/WixToolsetTest.Sql/SqlExtensionFixture.cs b/src/ext/Sql/test/WixToolsetTest.Sql/SqlExtensionFixture.cs
index 14ca14c3..0133d082 100644
--- a/src/ext/Sql/test/WixToolsetTest.Sql/SqlExtensionFixture.cs
+++ b/src/ext/Sql/test/WixToolsetTest.Sql/SqlExtensionFixture.cs
@@ -1,9 +1,12 @@
1// 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. 1// 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.
2 2
3using Microsoft.VisualStudio.TestTools.UnitTesting;
4
5[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
6
3namespace WixToolsetTest.Sql 7namespace WixToolsetTest.Sql
4{ 8{
5 using System.Linq; 9 using System.Linq;
6 using Microsoft.VisualStudio.TestTools.UnitTesting;
7 using WixInternal.MSTestSupport; 10 using WixInternal.MSTestSupport;
8 using WixInternal.Core.MSTestPackage; 11 using WixInternal.Core.MSTestPackage;
9 using WixToolset.Sql; 12 using WixToolset.Sql;
diff --git a/src/ext/Sql/test/WixToolsetTest.Sql/WixToolsetTest.Sql.csproj b/src/ext/Sql/test/WixToolsetTest.Sql/WixToolsetTest.Sql.csproj
index 62345258..f417f489 100644
--- a/src/ext/Sql/test/WixToolsetTest.Sql/WixToolsetTest.Sql.csproj
+++ b/src/ext/Sql/test/WixToolsetTest.Sql/WixToolsetTest.Sql.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/UI/test/WixToolsetTest.UI/WixToolsetTest.UI.csproj b/src/ext/UI/test/WixToolsetTest.UI/WixToolsetTest.UI.csproj
index 132920c5..fd2a4e69 100644
--- a/src/ext/UI/test/WixToolsetTest.UI/WixToolsetTest.UI.csproj
+++ b/src/ext/UI/test/WixToolsetTest.UI/WixToolsetTest.UI.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/Util/test/WixToolsetTest.Util/UtilExtensionFixture.cs b/src/ext/Util/test/WixToolsetTest.Util/UtilExtensionFixture.cs
index bb00717f..b29607c7 100644
--- a/src/ext/Util/test/WixToolsetTest.Util/UtilExtensionFixture.cs
+++ b/src/ext/Util/test/WixToolsetTest.Util/UtilExtensionFixture.cs
@@ -377,7 +377,7 @@ namespace WixToolsetTest.Util
377 extractResult.AssertSuccess(); 377 extractResult.AssertSuccess();
378 378
379 var bootstrapperExtensionDatas = extractResult.SelectBootstrapperExtensionDataNodes("/be:BootstrapperExtensionData/be:BootstrapperExtension[@Id='Wix4UtilBootstrapperExtension_X86']"); 379 var bootstrapperExtensionDatas = extractResult.SelectBootstrapperExtensionDataNodes("/be:BootstrapperExtensionData/be:BootstrapperExtension[@Id='Wix4UtilBootstrapperExtension_X86']");
380 Assert.AreEqual(1, bootstrapperExtensionDatas.Count); 380 Assert.HasCount(1, bootstrapperExtensionDatas);
381 Assert.AreEqual("<BootstrapperExtension Id='Wix4UtilBootstrapperExtension_X86'>" + 381 Assert.AreEqual("<BootstrapperExtension Id='Wix4UtilBootstrapperExtension_X86'>" +
382 "<WixWindowsFeatureSearch Id='DetectSHA2SupportId' Type='sha2CodeSigning' />" + 382 "<WixWindowsFeatureSearch Id='DetectSHA2SupportId' Type='sha2CodeSigning' />" +
383 "</BootstrapperExtension>", bootstrapperExtensionDatas[0].GetTestXml()); 383 "</BootstrapperExtension>", bootstrapperExtensionDatas[0].GetTestXml());
diff --git a/src/ext/Util/test/WixToolsetTest.Util/WixToolsetTest.Util.csproj b/src/ext/Util/test/WixToolsetTest.Util/WixToolsetTest.Util.csproj
index 4036c3ab..b5ea9d2e 100644
--- a/src/ext/Util/test/WixToolsetTest.Util/WixToolsetTest.Util.csproj
+++ b/src/ext/Util/test/WixToolsetTest.Util/WixToolsetTest.Util.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/ext/VisualStudio/test/WixToolsetTest.VisualStudio/VisualStudioExtensionFixture.cs b/src/ext/VisualStudio/test/WixToolsetTest.VisualStudio/VisualStudioExtensionFixture.cs
index 992ac953..361f5274 100644
--- a/src/ext/VisualStudio/test/WixToolsetTest.VisualStudio/VisualStudioExtensionFixture.cs
+++ b/src/ext/VisualStudio/test/WixToolsetTest.VisualStudio/VisualStudioExtensionFixture.cs
@@ -1,8 +1,11 @@
1// 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. 1// 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.
2 2
3using Microsoft.VisualStudio.TestTools.UnitTesting;
4
5[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
6
3namespace WixToolsetTest.VisualStudio 7namespace WixToolsetTest.VisualStudio
4{ 8{
5 using Microsoft.VisualStudio.TestTools.UnitTesting;
6 using WixInternal.MSTestSupport; 9 using WixInternal.MSTestSupport;
7 using WixInternal.Core.MSTestPackage; 10 using WixInternal.Core.MSTestPackage;
8 using WixToolset.VisualStudio; 11 using WixToolset.VisualStudio;
diff --git a/src/ext/VisualStudio/test/WixToolsetTest.VisualStudio/WixToolsetTest.VisualStudio.csproj b/src/ext/VisualStudio/test/WixToolsetTest.VisualStudio/WixToolsetTest.VisualStudio.csproj
index 9cfb6867..8b8f6ad9 100644
--- a/src/ext/VisualStudio/test/WixToolsetTest.VisualStudio/WixToolsetTest.VisualStudio.csproj
+++ b/src/ext/VisualStudio/test/WixToolsetTest.VisualStudio/WixToolsetTest.VisualStudio.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixMSTestProject>true</IsWixMSTestProject> 7 <IsWixMSTestProject>true</IsWixMSTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/internal/SetBuildNumber/Directory.Packages.props.pp b/src/internal/SetBuildNumber/Directory.Packages.props.pp
index 4632272f..6c01a4da 100644
--- a/src/internal/SetBuildNumber/Directory.Packages.props.pp
+++ b/src/internal/SetBuildNumber/Directory.Packages.props.pp
@@ -52,58 +52,52 @@
52 </ItemGroup> 52 </ItemGroup>
53 53
54 <ItemGroup> 54 <ItemGroup>
55 <PackageVersion Include="System.Configuration.ConfigurationManager" Version="6.0.2" /> 55 <PackageVersion Include="System.Configuration.ConfigurationManager" Version="8.0.1" />
56 <PackageVersion Include="System.Diagnostics.PerformanceCounter" Version="6.0.2" /> 56 <PackageVersion Include="System.Diagnostics.PerformanceCounter" Version="8.0.1" />
57 <PackageVersion Include="System.DirectoryServices" Version="6.0.2" /> 57 <PackageVersion Include="System.DirectoryServices" Version="8.0.0" />
58 <PackageVersion Include="System.DirectoryServices.AccountManagement" Version="6.0.1" /> 58 <PackageVersion Include="System.DirectoryServices.AccountManagement" Version="8.0.1" />
59 <PackageVersion Include="System.Management" Version="6.0.2" /> 59 <PackageVersion Include="System.Management" Version="8.0.0" />
60 <PackageVersion Include="System.IO.Compression" Version="4.3.0" /> 60 <PackageVersion Include="System.IO.Compression" Version="4.3.0" />
61 <PackageVersion Include="System.IO.FileSystem.AccessControl" Version="5.0.0" /> 61 <PackageVersion Include="System.IO.FileSystem.AccessControl" Version="5.0.0" />
62 <PackageVersion Include="System.Net.NetworkInformation" Version="4.3.0" /> 62 <PackageVersion Include="System.Net.NetworkInformation" Version="4.3.0" />
63 <PackageVersion Include="System.Reflection.Metadata" Version="6.0.2" /> 63 <PackageVersion Include="System.Reflection.Metadata" Version="8.0.1" />
64 <PackageVersion Include="System.Security.Principal.Windows" Version="5.0.0" /> 64 <PackageVersion Include="System.Security.Principal.Windows" Version="5.0.0" />
65 <PackageVersion Include="System.Text.Encoding.CodePages" Version="6.0.1" /> 65 <PackageVersion Include="System.Text.Encoding.CodePages" Version="8.0.0" />
66 <PackageVersion Include="System.Text.Json" Version="8.0.5" /> 66 <PackageVersion Include="System.Text.Json" Version="8.0.6" />
67 <PackageVersion Include="System.Memory" Version="4.5.5" /> 67 <PackageVersion Include="System.Memory" Version="4.6.3" />
68 68
69 <PackageVersion Include="Microsoft.AspNetCore.Owin" Version="3.1.13" /> 69 <PackageVersion Include="Microsoft.AspNetCore.Owin" Version="8.0.21" />
70 <PackageVersion Include="Microsoft.VisualStudio.Setup.Configuration.Native" Version="3.10.2154" /> 70 <PackageVersion Include="Microsoft.VisualStudio.Setup.Configuration.Native" Version="3.14.2075" />
71 <PackageVersion Include="Microsoft.Win32.Registry" Version="5.0.0" /> 71 <PackageVersion Include="Microsoft.Win32.Registry" Version="5.0.0" />
72 </ItemGroup> 72 </ItemGroup>
73 73
74 <ItemGroup> 74 <ItemGroup>
75 <PackageVersion Include="NuGet.Credentials" Version="6.12.1" /> 75 <PackageVersion Include="NuGet.Credentials" Version="6.13.2" />
76 <PackageVersion Include="NuGet.Protocol" Version="6.12.1" /> 76 <PackageVersion Include="NuGet.Protocol" Version="6.13.2" />
77 <PackageVersion Include="NuGet.Versioning" Version="6.12.1" /> 77 <PackageVersion Include="NuGet.Versioning" Version="6.13.2" />
78 </ItemGroup> 78 </ItemGroup>
79 79
80 <!-- 80 <ItemGroup>
81 These MSBuild versions are trapped in antiquity for heat.exe. 81 <PackageVersion Include="Microsoft.Build.Tasks.Core" Version="17.13.26" />
82 -->
83 <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
84 <PackageVersion Include="Microsoft.Build.Tasks.Core" Version="14.3.0" />
85 </ItemGroup>
86 <ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETFramework'">
87 <PackageVersion Include="Microsoft.Build.Tasks.Core" Version="15.7.179" />
88 </ItemGroup> 82 </ItemGroup>
89 83
90 <!-- Keep the following versions in sync with internal\WixInternal.TestSupport.Native\packages.config --> 84 <!-- Keep the following versions in sync with internal\WixInternal.TestSupport.Native\packages.config -->
91 <ItemGroup> 85 <ItemGroup>
92 <PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" /> 86 <PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
93 87
94 <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" /> 88 <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
95 <PackageVersion Include="xunit" Version="2.8.1" /> 89 <PackageVersion Include="xunit" Version="2.9.3" />
96 <PackageVersion Include="xunit.runner.visualstudio" Version="2.8.1" /> 90 <PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
97 <PackageVersion Include="xunit.assert" Version="2.8.1" /> 91 <PackageVersion Include="xunit.assert" Version="2.9.3" />
98 </ItemGroup> 92 </ItemGroup>
99 93
100 <ItemGroup> 94 <ItemGroup>
101 <PackageVersion Include="MSTest.TestFramework" Version="3.8.3" /> 95 <PackageVersion Include="MSTest.TestFramework" Version="4.0.1" />
102 </ItemGroup> 96 </ItemGroup>
103 97
104 <ItemGroup> 98 <ItemGroup>
105 <PackageVersion Include="Microsoft.NET.Tools.NETCoreCheck.x86" Version="6.0.0" /> 99 <PackageVersion Include="Microsoft.NET.Tools.NETCoreCheck.x86" Version="7.0.0" />
106 <PackageVersion Include="Microsoft.NET.Tools.NETCoreCheck.x64" Version="6.0.0" /> 100 <PackageVersion Include="Microsoft.NET.Tools.NETCoreCheck.x64" Version="7.0.0" />
107 <PackageVersion Include="Microsoft.NET.Tools.NETCoreCheck.arm64" Version="6.0.0" /> 101 <PackageVersion Include="Microsoft.NET.Tools.NETCoreCheck.arm64" Version="7.0.0" />
108 </ItemGroup> 102 </ItemGroup>
109</Project> 103</Project>
diff --git a/src/internal/SetBuildNumber/global.json.pp b/src/internal/SetBuildNumber/global.json.pp
index 48f4ecb3..97f7e471 100644
--- a/src/internal/SetBuildNumber/global.json.pp
+++ b/src/internal/SetBuildNumber/global.json.pp
@@ -1,8 +1,8 @@
1{ 1{
2 "msbuild-sdks": { 2 "msbuild-sdks": {
3 "MSTest.Sdk": "3.8.3", 3 "MSTest.Sdk": "4.0.1",
4 "Microsoft.Build.Traversal": "4.1.82", 4 "Microsoft.Build.Traversal": "4.1.82",
5 "Microsoft.Build.NoTargets": "3.5.6", 5 "Microsoft.Build.NoTargets": "3.7.134",
6 "WixToolset.Sdk": "{packageversion}" 6 "WixToolset.Sdk": "{packageversion}"
7 }, 7 },
8 "sdk": { 8 "sdk": {
diff --git a/src/internal/WixInternal.MSTestSupport/MsbuildRunnerResult.cs b/src/internal/WixInternal.MSTestSupport/MsbuildRunnerResult.cs
index 02e25ebb..4dda6b23 100644
--- a/src/internal/WixInternal.MSTestSupport/MsbuildRunnerResult.cs
+++ b/src/internal/WixInternal.MSTestSupport/MsbuildRunnerResult.cs
@@ -13,7 +13,7 @@ namespace WixInternal.MSTestSupport
13 13
14 public void AssertSuccess() 14 public void AssertSuccess()
15 { 15 {
16 Assert.IsTrue(0 == this.ExitCode, $"MSBuild failed unexpectedly. Output:{Environment.NewLine}{String.Join(Environment.NewLine, this.Output)}"); 16 Assert.AreEqual(0, this.ExitCode, $"MSBuild failed unexpectedly. Output:{Environment.NewLine}{String.Join(Environment.NewLine, this.Output)}");
17 } 17 }
18 } 18 }
19} 19}
diff --git a/src/internal/WixInternal.MSTestSupport/WixAssert.cs b/src/internal/WixInternal.MSTestSupport/WixAssert.cs
index 9110309d..3da4f9e6 100644
--- a/src/internal/WixInternal.MSTestSupport/WixAssert.cs
+++ b/src/internal/WixInternal.MSTestSupport/WixAssert.cs
@@ -99,7 +99,7 @@ namespace WixInternal.MSTestSupport
99 99
100 public static void NotEmpty<T>(IEnumerable<T> collection) 100 public static void NotEmpty<T>(IEnumerable<T> collection)
101 { 101 {
102 Assert.IsTrue(collection.Count() > 0); 102 Assert.IsGreaterThan(0, collection.Count());
103 } 103 }
104 104
105 public static void Empty<T>(IEnumerable<T> collection) 105 public static void Empty<T>(IEnumerable<T> collection)
diff --git a/src/internal/WixInternal.MSTestSupport/WixInternal.MSTestSupport.csproj b/src/internal/WixInternal.MSTestSupport/WixInternal.MSTestSupport.csproj
index b48aacd4..6edc92c3 100644
--- a/src/internal/WixInternal.MSTestSupport/WixInternal.MSTestSupport.csproj
+++ b/src/internal/WixInternal.MSTestSupport/WixInternal.MSTestSupport.csproj
@@ -4,7 +4,7 @@
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 5
6 <PropertyGroup> 6 <PropertyGroup>
7 <TargetFrameworks>net6.0;net472</TargetFrameworks> 7 <TargetFramework>net8.0</TargetFramework>
8 <IsPackable>true</IsPackable> 8 <IsPackable>true</IsPackable>
9 <DebugType>embedded</DebugType> 9 <DebugType>embedded</DebugType>
10 <PublishRepositoryUrl>true</PublishRepositoryUrl> 10 <PublishRepositoryUrl>true</PublishRepositoryUrl>
diff --git a/src/internal/WixInternal.TestSupport.Native/build/WixInternal.TestSupport.Native.props b/src/internal/WixInternal.TestSupport.Native/build/WixInternal.TestSupport.Native.props
index 2362a8de..f0d37a71 100644
--- a/src/internal/WixInternal.TestSupport.Native/build/WixInternal.TestSupport.Native.props
+++ b/src/internal/WixInternal.TestSupport.Native/build/WixInternal.TestSupport.Native.props
@@ -5,8 +5,8 @@
5 <PropertyGroup> 5 <PropertyGroup>
6 <RepoRootDir Condition=" '$(RepoRootDir)' == '' ">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), .gitignore))</RepoRootDir> 6 <RepoRootDir Condition=" '$(RepoRootDir)' == '' ">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), .gitignore))</RepoRootDir>
7 </PropertyGroup> 7 </PropertyGroup>
8 <Import Project="$(RepoRootDir)\packages\xunit.core.2.8.1\build\xunit.core.props" Condition="Exists('$(RepoRootDir)\packages\xunit.core.2.8.1\build\xunit.core.props')" /> 8 <Import Project="$(RepoRootDir)\packages\xunit.core.2.9.3\build\xunit.core.props" Condition="Exists('$(RepoRootDir)\packages\xunit.core.2.9.3\build\xunit.core.props')" />
9 <Import Project="$(RepoRootDir)\packages\xunit.runner.visualstudio.2.8.1\build\net462\xunit.runner.visualstudio.props" Condition="Exists('$(RepoRootDir)\packages\xunit.runner.visualstudio.2.8.1\build\net462\xunit.runner.visualstudio.props')" /> 9 <Import Project="$(RepoRootDir)\packages\xunit.runner.visualstudio.2.8.2\build\net462\xunit.runner.visualstudio.props" Condition="Exists('$(RepoRootDir)\packages\xunit.runner.visualstudio.2.8.2\build\net462\xunit.runner.visualstudio.props')" />
10 <PropertyGroup> 10 <PropertyGroup>
11 <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> 11 <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
12 </PropertyGroup> 12 </PropertyGroup>
diff --git a/src/internal/WixInternal.TestSupport.Native/build/WixInternal.TestSupport.Native.targets b/src/internal/WixInternal.TestSupport.Native/build/WixInternal.TestSupport.Native.targets
index a882ad8d..36875a6e 100644
--- a/src/internal/WixInternal.TestSupport.Native/build/WixInternal.TestSupport.Native.targets
+++ b/src/internal/WixInternal.TestSupport.Native/build/WixInternal.TestSupport.Native.targets
@@ -22,28 +22,28 @@
22 <HintPath>$(RootPackagesFolder)xunit.abstractions.2.0.3\lib\netstandard2.0\xunit.abstractions.dll</HintPath> 22 <HintPath>$(RootPackagesFolder)xunit.abstractions.2.0.3\lib\netstandard2.0\xunit.abstractions.dll</HintPath>
23 </Reference> 23 </Reference>
24 <Reference Include="xunit.assert"> 24 <Reference Include="xunit.assert">
25 <HintPath>$(RootPackagesFolder)xunit.assert.2.8.1\lib\netstandard1.1\xunit.assert.dll</HintPath> 25 <HintPath>$(RootPackagesFolder)xunit.assert.2.9.3\lib\netstandard1.1\xunit.assert.dll</HintPath>
26 </Reference> 26 </Reference>
27 <Reference Include="xunit.core"> 27 <Reference Include="xunit.core">
28 <HintPath>$(RootPackagesFolder)xunit.extensibility.core.2.8.1\lib\netstandard1.1\xunit.core.dll</HintPath> 28 <HintPath>$(RootPackagesFolder)xunit.extensibility.core.2.9.3\lib\netstandard1.1\xunit.core.dll</HintPath>
29 </Reference> 29 </Reference>
30 <Reference Include="xunit.execution.desktop"> 30 <Reference Include="xunit.execution.desktop">
31 <HintPath>$(RootPackagesFolder)xunit.extensibility.execution.2.8.1\lib\net452\xunit.execution.desktop.dll</HintPath> 31 <HintPath>$(RootPackagesFolder)xunit.extensibility.execution.2.9.3\lib\net452\xunit.execution.desktop.dll</HintPath>
32 </Reference> 32 </Reference>
33 </ItemGroup> 33 </ItemGroup>
34 34
35 <Import Project="$(RootPackagesFolder)xunit.core.2.8.1\build\xunit.core.targets" Condition="Exists('$(RootPackagesFolder)xunit.core.2.8.1\build\xunit.core.targets')" /> 35 <Import Project="$(RootPackagesFolder)xunit.core.2.9.3\build\xunit.core.targets" Condition="Exists('$(RootPackagesFolder)xunit.core.2.9.3\build\xunit.core.targets')" />
36 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 36 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
37 <PropertyGroup> 37 <PropertyGroup>
38 <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> 38 <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>
39 </PropertyGroup> 39 </PropertyGroup>
40 <Error Condition="!Exists('$(RootPackagesFolder)xunit.core.2.8.1\build\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '$(RootPackagesFolder)xunit.core.2.8.1\build\xunit.core.props'))" /> 40 <Error Condition="!Exists('$(RootPackagesFolder)xunit.core.2.9.3\build\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '$(RootPackagesFolder)xunit.core.2.9.3\build\xunit.core.props'))" />
41 <Error Condition="!Exists('$(RootPackagesFolder)xunit.core.2.8.1\build\xunit.core.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(RootPackagesFolder)xunit.core.2.8.1\build\xunit.core.targets'))" /> 41 <Error Condition="!Exists('$(RootPackagesFolder)xunit.core.2.9.3\build\xunit.core.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(RootPackagesFolder)xunit.core.2.9.3\build\xunit.core.targets'))" />
42 <Error Condition="!Exists('$(RootPackagesFolder)xunit.runner.visualstudio.2.8.1\build\net462\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '$(RootPackagesFolder)xunit.runner.visualstudio.2.8.1\build\net462\xunit.runner.visualstudio.props'))" /> 42 <Error Condition="!Exists('$(RootPackagesFolder)xunit.runner.visualstudio.2.8.2\build\net462\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '$(RootPackagesFolder)xunit.runner.visualstudio.2.8.2\build\net462\xunit.runner.visualstudio.props'))" />
43 </Target> 43 </Target>
44 44
45 <UsingTask AssemblyFile="$(RootPackagesFolder)xunit.runner.msbuild.2.8.1\build\net452\xunit.runner.msbuild.net452.dll" TaskName="Xunit.Runner.MSBuild.xunit" Architecture="x86" Condition=" '$(Platform)'!='x64' " /> 45 <UsingTask AssemblyFile="$(RootPackagesFolder)xunit.runner.msbuild.2.9.3\build\net452\xunit.runner.msbuild.net452.dll" TaskName="Xunit.Runner.MSBuild.xunit" Architecture="x86" Condition=" '$(Platform)'!='x64' " />
46 <UsingTask AssemblyFile="$(RootPackagesFolder)xunit.runner.msbuild.2.8.1\build\net452\xunit.runner.msbuild.net452.dll" TaskName="Xunit.Runner.MSBuild.xunit" Architecture="x64" Condition=" '$(Platform)'=='x64' " /> 46 <UsingTask AssemblyFile="$(RootPackagesFolder)xunit.runner.msbuild.2.9.3\build\net452\xunit.runner.msbuild.net452.dll" TaskName="Xunit.Runner.MSBuild.xunit" Architecture="x64" Condition=" '$(Platform)'=='x64' " />
47 <Target Name="Test"> 47 <Target Name="Test">
48 <!-- https://xunit.net/docs/running-tests-in-msbuild --> 48 <!-- https://xunit.net/docs/running-tests-in-msbuild -->
49 <!-- https://github.com/xunit/xunit/issues/2188 --> 49 <!-- https://github.com/xunit/xunit/issues/2188 -->
diff --git a/src/internal/WixInternal.TestSupport.Native/packages.config b/src/internal/WixInternal.TestSupport.Native/packages.config
index 21567bf3..ea16d09d 100644
--- a/src/internal/WixInternal.TestSupport.Native/packages.config
+++ b/src/internal/WixInternal.TestSupport.Native/packages.config
@@ -7,10 +7,10 @@
7 when any of these versions are updated. 7 when any of these versions are updated.
8 --> 8 -->
9 <package id="xunit.abstractions" version="2.0.3" /> 9 <package id="xunit.abstractions" version="2.0.3" />
10 <package id="xunit.assert" version="2.8.1" /> 10 <package id="xunit.assert" version="2.9.3" />
11 <package id="xunit.core" version="2.8.1" /> 11 <package id="xunit.core" version="2.9.3" />
12 <package id="xunit.extensibility.core" version="2.8.1" /> 12 <package id="xunit.extensibility.core" version="2.9.3" />
13 <package id="xunit.extensibility.execution" version="2.8.1" /> 13 <package id="xunit.extensibility.execution" version="2.9.3" />
14 <package id="xunit.runner.msbuild" version="2.8.1" /> 14 <package id="xunit.runner.msbuild" version="2.9.3" />
15 <package id="xunit.runner.visualstudio" version="2.8.1" /> 15 <package id="xunit.runner.visualstudio" version="2.8.2" />
16</packages> 16</packages>
diff --git a/src/libs/libs.cmd b/src/libs/libs.cmd
index acf5ff55..97d2490b 100644
--- a/src/libs/libs.cmd
+++ b/src/libs/libs.cmd
@@ -21,9 +21,10 @@
21 21
22msbuild -Restore libs_t.proj -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:%_L%\libs_build.binlog || exit /b 22msbuild -Restore libs_t.proj -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:%_L%\libs_build.binlog || exit /b
23 23
24@rem Optional blame switches for tracking down hangs: --blame-hang-timeout 1min --blame-hang-dump-type mini
24dotnet test ^ 25dotnet test ^
25 --results-directory %_L%\TestResults --blame-hang-timeout 1min --blame-hang-dump-type mini -l:"console;verbosity=detailed" ^ 26 --results-directory %_L%\TestResults -l:"console;verbosity=detailed" ^
26 %_B%\net6.0\WixToolsetTest.Versioning.dll ^ 27 %_B%\net8.0\WixToolsetTest.Versioning.dll ^
27 %_B%\x86\DUtilUnitTest.dll ^ 28 %_B%\x86\DUtilUnitTest.dll ^
28 %_B%\x64\DUtilUnitTest.dll ^ 29 %_B%\x64\DUtilUnitTest.dll ^
29 --nologo -l "trx;LogFileName=%_L%\TestResults\libs.trx" || exit /b 30 --nologo -l "trx;LogFileName=%_L%\TestResults\libs.trx" || exit /b
diff --git a/src/libs/test/WixToolsetTest.Versioning/WixToolsetTest.Versioning.csproj b/src/libs/test/WixToolsetTest.Versioning/WixToolsetTest.Versioning.csproj
index 79d4ef35..52fbf0de 100644
--- a/src/libs/test/WixToolsetTest.Versioning/WixToolsetTest.Versioning.csproj
+++ b/src/libs/test/WixToolsetTest.Versioning/WixToolsetTest.Versioning.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixTestProject>true</IsWixTestProject> 7 <IsWixTestProject>true</IsWixTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/test/burn/Directory.wixproj.props b/src/test/burn/Directory.wixproj.props
index 49a6ba62..9bda487e 100644
--- a/src/test/burn/Directory.wixproj.props
+++ b/src/test/burn/Directory.wixproj.props
@@ -3,7 +3,7 @@
3 <PropertyGroup> 3 <PropertyGroup>
4 <TestGroupName Condition=" '$(TestGroupName)'=='' ">$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))))</TestGroupName> 4 <TestGroupName Condition=" '$(TestGroupName)'=='' ">$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))))</TestGroupName>
5 <BaseIntermediateOutputPath>$(BaseOutputPath)obj\$(TestGroupName)\$(ProjectName)\</BaseIntermediateOutputPath> 5 <BaseIntermediateOutputPath>$(BaseOutputPath)obj\$(TestGroupName)\$(ProjectName)\</BaseIntermediateOutputPath>
6 <OutputPath>$(OutputPath)net6.0-windows\TestData\$(TestGroupName)\</OutputPath> 6 <OutputPath>$(OutputPath)net8.0-windows\TestData\$(TestGroupName)\</OutputPath>
7 <DefaultCompressionLevel>None</DefaultCompressionLevel> 7 <DefaultCompressionLevel>None</DefaultCompressionLevel>
8 <CompilerAdditionalOptions>-wx</CompilerAdditionalOptions> 8 <CompilerAdditionalOptions>-wx</CompilerAdditionalOptions>
9 <SuppressSpecificWarnings>1154;$(SuppressSpecificWarnings)</SuppressSpecificWarnings> 9 <SuppressSpecificWarnings>1154;$(SuppressSpecificWarnings)</SuppressSpecificWarnings>
diff --git a/src/test/burn/README.md b/src/test/burn/README.md
index 30623b7e..28284737 100644
--- a/src/test/burn/README.md
+++ b/src/test/burn/README.md
@@ -10,8 +10,8 @@ They modify machine state so it's strongly recommended *not* to run these tests
10They should be run on a VM instead, where you can easily roll back. 10They should be run on a VM instead, where you can easily roll back.
11 11
121. Run build.cmd to build everything (the tests will not automatically run). 121. Run build.cmd to build everything (the tests will not automatically run).
131. Copy the build\IntegrationBurn\Debug\net6.0-windows folder to your VM. 131. Copy the build\IntegrationBurn\Debug\net8.0-windows folder to your VM.
141. Open an elevated command prompt and navigate to the net6.0-windows folder. 141. Open an elevated command prompt and navigate to the net8.0-windows folder.
151. Run the runtests.cmd file to run the tests. 151. Run the runtests.cmd file to run the tests.
16 16
17You can modify the runtests.cmd to run specific tests. 17You can modify the runtests.cmd to run specific tests.
@@ -20,12 +20,12 @@ For example, the following line runs only the specified test:
20> dotnet test --filter WixToolsetTest.BurnE2E.BasicFunctionalityTests.CanInstallAndUninstallSimpleBundle_x86_wixstdba WixToolsetTest.BurnE2E.dll 20> dotnet test --filter WixToolsetTest.BurnE2E.BasicFunctionalityTests.CanInstallAndUninstallSimpleBundle_x86_wixstdba WixToolsetTest.BurnE2E.dll
21 21
22The VM must have: 22The VM must have:
231. x64 .NET Core SDK of 6.0 or later (for the test runner and .NET Core TestBA) 231. x64 .NET Core SDK of 8.0 or later (for the test runner and .NET Core TestBA)
241. Any version of .NET Framework (for the .NET Framework TestBA) 241. Any version of .NET Framework (for the .NET Framework TestBA)
251. x86 .NET Core Desktop Runtime of 6.0 or later (for the .NET Core TestBA) 251. x86 .NET Core Desktop Runtime of 8.0 or later (for the .NET Core TestBA)
26 26
27## Building with local changes 27## Building with local changes
28 28
29The current build process will poison your NuGet package cache, so you may have to run the following command to clear it: 29The current build process will poison your NuGet package cache, so you may have to run the following command to clear it:
30 30
31> nuget locals all -clear \ No newline at end of file 31> nuget locals all -clear
diff --git a/src/test/burn/TestBA/TestBA.csproj b/src/test/burn/TestBA/TestBA.csproj
index ec60adc8..e926833b 100644
--- a/src/test/burn/TestBA/TestBA.csproj
+++ b/src/test/burn/TestBA/TestBA.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFrameworks>net6.0-windows;net462</TargetFrameworks> 6 <TargetFrameworks>net8.0-windows;net462</TargetFrameworks>
7 <OutputType>WinExe</OutputType> 7 <OutputType>WinExe</OutputType>
8 <AssemblyName>TestBA</AssemblyName> 8 <AssemblyName>TestBA</AssemblyName>
9 <RootNamespace>WixToolset.Test.BA</RootNamespace> 9 <RootNamespace>WixToolset.Test.BA</RootNamespace>
diff --git a/src/test/burn/TestBA/TestBA_x64.csproj b/src/test/burn/TestBA/TestBA_x64.csproj
index 1e2ed69d..d552f09e 100644
--- a/src/test/burn/TestBA/TestBA_x64.csproj
+++ b/src/test/burn/TestBA/TestBA_x64.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFrameworks>net6.0-windows;net462</TargetFrameworks> 6 <TargetFrameworks>net8.0-windows;net462</TargetFrameworks>
7 <OutputType>WinExe</OutputType> 7 <OutputType>WinExe</OutputType>
8 <AssemblyName>TestBA</AssemblyName> 8 <AssemblyName>TestBA</AssemblyName>
9 <RootNamespace>WixToolset.Test.BA</RootNamespace> 9 <RootNamespace>WixToolset.Test.BA</RootNamespace>
diff --git a/src/test/burn/TestData/CacheTests/BundleC/BundleC.wixproj b/src/test/burn/TestData/CacheTests/BundleC/BundleC.wixproj
index a5a8c6e3..2c414118 100644
--- a/src/test/burn/TestData/CacheTests/BundleC/BundleC.wixproj
+++ b/src/test/burn/TestData/CacheTests/BundleC/BundleC.wixproj
@@ -17,7 +17,7 @@
17 </ItemGroup> 17 </ItemGroup>
18 <!-- We do this dynamically to avoid committing such a large file to source control. --> 18 <!-- We do this dynamically to avoid committing such a large file to source control. -->
19 <Target Name="CreateLargeFile" AfterTargets="BeforeBuild" Inputs="$(MSBuildProjectFullPath)" Outputs="$(MSBuildProjectDirectory)\fivegb.file"> 19 <Target Name="CreateLargeFile" AfterTargets="BeforeBuild" Inputs="$(MSBuildProjectFullPath)" Outputs="$(MSBuildProjectDirectory)\fivegb.file">
20 <Exec Command='"$(BaseOutputPath)$(Configuration)\net6.0\win-x86\testexe.exe" /lf "fivegb.file|5368709120' WorkingDirectory="$(MSBuildProjectDirectory)" /> 20 <Exec Command='"$(BaseOutputPath)$(Configuration)\net8.0\win-x86\testexe.exe" /lf "fivegb.file|5368709120' WorkingDirectory="$(MSBuildProjectDirectory)" />
21 </Target> 21 </Target>
22 <!-- We do this to avoid copying such a large file to the VM to run the tests. --> 22 <!-- We do this to avoid copying such a large file to the VM to run the tests. -->
23 <Target Name="DeleteLargeFile" AfterTargets="AfterBuild"> 23 <Target Name="DeleteLargeFile" AfterTargets="AfterBuild">
diff --git a/src/test/burn/TestData/Manual/BundleB/BundleB.wixproj b/src/test/burn/TestData/Manual/BundleB/BundleB.wixproj
index d0b05bc1..5060077d 100644
--- a/src/test/burn/TestData/Manual/BundleB/BundleB.wixproj
+++ b/src/test/burn/TestData/Manual/BundleB/BundleB.wixproj
@@ -17,8 +17,8 @@
17 17
18 <!-- We do this dynamically to avoid committing so many files to source control. --> 18 <!-- We do this dynamically to avoid committing so many files to source control. -->
19 <Target Name="CreateThousandsOfFiles" AfterTargets="BeforeBuild"> 19 <Target Name="CreateThousandsOfFiles" AfterTargets="BeforeBuild">
20 <Exec Command='"$(BaseOutputPath)$(Configuration)\net6.0\win-x86\testexe.exe" /gf "BAPayloads|10000' WorkingDirectory="$(MSBuildProjectDirectory)" /> 20 <Exec Command='"$(BaseOutputPath)$(Configuration)\net8.0\win-x86\testexe.exe" /gf "BAPayloads|10000' WorkingDirectory="$(MSBuildProjectDirectory)" />
21 <Exec Command='"$(BaseOutputPath)$(Configuration)\net6.0\win-x86\testexe.exe" /gf "PackagePayloads|10000' WorkingDirectory="$(MSBuildProjectDirectory)" /> 21 <Exec Command='"$(BaseOutputPath)$(Configuration)\net8.0\win-x86\testexe.exe" /gf "PackagePayloads|10000' WorkingDirectory="$(MSBuildProjectDirectory)" />
22 </Target> 22 </Target>
23 23
24 <Target Name="DeleteThousandsOfFiles" AfterTargets="AfterBuild"> 24 <Target Name="DeleteThousandsOfFiles" AfterTargets="AfterBuild">
diff --git a/src/test/burn/TestData/PrereqBaTests/BundleA/BundleA.wixproj b/src/test/burn/TestData/PrereqBaTests/BundleA/BundleA.wixproj
index 06916058..ce39322b 100644
--- a/src/test/burn/TestData/PrereqBaTests/BundleA/BundleA.wixproj
+++ b/src/test/burn/TestData/PrereqBaTests/BundleA/BundleA.wixproj
@@ -9,7 +9,7 @@
9 <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" /> 9 <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" />
10 </ItemGroup> 10 </ItemGroup>
11 <ItemGroup> 11 <ItemGroup>
12 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net6.0-windows\win-x86" BindName="dncx86" /> 12 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net8.0-windows\win-x86" BindName="dncx86" />
13 </ItemGroup> 13 </ItemGroup>
14 <ItemGroup> 14 <ItemGroup>
15 <ProjectReference Include="..\PackageA\PackageA.wixproj" /> 15 <ProjectReference Include="..\PackageA\PackageA.wixproj" />
diff --git a/src/test/burn/TestData/PrereqBaTests/BundleC/BundleC.wixproj b/src/test/burn/TestData/PrereqBaTests/BundleC/BundleC.wixproj
index 27b9c196..118d8378 100644
--- a/src/test/burn/TestData/PrereqBaTests/BundleC/BundleC.wixproj
+++ b/src/test/burn/TestData/PrereqBaTests/BundleC/BundleC.wixproj
@@ -9,7 +9,7 @@
9 <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" /> 9 <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" />
10 </ItemGroup> 10 </ItemGroup>
11 <ItemGroup> 11 <ItemGroup>
12 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net6.0-windows\win-x86" BindName="dncx86" /> 12 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net8.0-windows\win-x86" BindName="dncx86" />
13 </ItemGroup> 13 </ItemGroup>
14 <ItemGroup> 14 <ItemGroup>
15 <ProjectReference Include="..\PackageA\PackageA.wixproj" /> 15 <ProjectReference Include="..\PackageA\PackageA.wixproj" />
diff --git a/src/test/burn/TestData/PrereqBaTests/BundleE/BundleE.wixproj b/src/test/burn/TestData/PrereqBaTests/BundleE/BundleE.wixproj
index 6e3bbfa5..ac1559ba 100644
--- a/src/test/burn/TestData/PrereqBaTests/BundleE/BundleE.wixproj
+++ b/src/test/burn/TestData/PrereqBaTests/BundleE/BundleE.wixproj
@@ -9,7 +9,7 @@
9 <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" /> 9 <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" />
10 </ItemGroup> 10 </ItemGroup>
11 <ItemGroup> 11 <ItemGroup>
12 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net6.0-windows\win-x86" BindName="dncx86" /> 12 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net8.0-windows\win-x86" BindName="dncx86" />
13 </ItemGroup> 13 </ItemGroup>
14 <ItemGroup> 14 <ItemGroup>
15 <ProjectReference Include="..\PrereqBaf\PrereqBaf.vcxproj" /> 15 <ProjectReference Include="..\PrereqBaf\PrereqBaf.vcxproj" />
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj b/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj
index f80dc6cc..5dae879d 100644
--- a/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj
+++ b/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj
@@ -8,7 +8,7 @@
8 <ItemGroup> 8 <ItemGroup>
9 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net462\win-x86" BindName="net2x86" /> 9 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net462\win-x86" BindName="net2x86" />
10 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net472\win-x86" BindName="net4x86" /> 10 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net472\win-x86" BindName="net4x86" />
11 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net6.0-windows\win-x86" BindName="dncx86" /> 11 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net8.0-windows\win-x86" BindName="dncx86" />
12 </ItemGroup> 12 </ItemGroup>
13 <ItemGroup> 13 <ItemGroup>
14 <ProjectReference Include="..\..\..\TestBA\TestBA.csproj" /> 14 <ProjectReference Include="..\..\..\TestBA\TestBA.csproj" />
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj
index 86edc0e1..68141044 100644
--- a/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj
+++ b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj
@@ -9,7 +9,7 @@
9 <ItemGroup> 9 <ItemGroup>
10 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net462\win-x64" BindName="net2x64" /> 10 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net462\win-x64" BindName="net2x64" />
11 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net472\win-x64" BindName="net4x64" /> 11 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net472\win-x64" BindName="net4x64" />
12 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net6.0-windows\win-x64" BindName="dncx64" /> 12 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net8.0-windows\win-x64" BindName="dncx64" />
13 </ItemGroup> 13 </ItemGroup>
14 <ItemGroup> 14 <ItemGroup>
15 <ProjectReference Include="..\..\..\TestBA\TestBA_x64.csproj" /> 15 <ProjectReference Include="..\..\..\TestBA\TestBA_x64.csproj" />
diff --git a/src/test/burn/TestExe/TestExe.csproj b/src/test/burn/TestExe/TestExe.csproj
index 9a80aa92..9b88e195 100644
--- a/src/test/burn/TestExe/TestExe.csproj
+++ b/src/test/burn/TestExe/TestExe.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFrameworks>net6.0;net462</TargetFrameworks> 6 <TargetFrameworks>net8.0;net462</TargetFrameworks>
7 <AssemblyName>TestExe</AssemblyName> 7 <AssemblyName>TestExe</AssemblyName>
8 <RootNamespace>TestExe</RootNamespace> 8 <RootNamespace>TestExe</RootNamespace>
9 <OutputType>Exe</OutputType> 9 <OutputType>Exe</OutputType>
diff --git a/src/test/burn/WixTestTools/WixTestTools.csproj b/src/test/burn/WixTestTools/WixTestTools.csproj
index 7a702949..587ff9ea 100644
--- a/src/test/burn/WixTestTools/WixTestTools.csproj
+++ b/src/test/burn/WixTestTools/WixTestTools.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0-windows</TargetFramework> 6 <TargetFramework>net8.0-windows</TargetFramework>
7 <PlatformTarget>x64</PlatformTarget> 7 <PlatformTarget>x64</PlatformTarget>
8 <IsWixTestSupportProject>true</IsWixTestSupportProject> 8 <IsWixTestSupportProject>true</IsWixTestSupportProject>
9 </PropertyGroup> 9 </PropertyGroup>
diff --git a/src/test/burn/WixToolset.WixBA/WixToolset.WixBA.csproj b/src/test/burn/WixToolset.WixBA/WixToolset.WixBA.csproj
index 4371d0d6..b821e32e 100644
--- a/src/test/burn/WixToolset.WixBA/WixToolset.WixBA.csproj
+++ b/src/test/burn/WixToolset.WixBA/WixToolset.WixBA.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFrameworks>net6.0-windows;net472</TargetFrameworks> 6 <TargetFrameworks>net8.0-windows;net472</TargetFrameworks>
7 <OutputType>WinExe</OutputType> 7 <OutputType>WinExe</OutputType>
8 <AssemblyName>WixToolset.WixBA</AssemblyName> 8 <AssemblyName>WixToolset.WixBA</AssemblyName>
9 <RootNamespace>WixToolset.WixBA</RootNamespace> 9 <RootNamespace>WixToolset.WixBA</RootNamespace>
diff --git a/src/test/burn/WixToolset.WixBA/WixToolset.WixBA_x64.csproj b/src/test/burn/WixToolset.WixBA/WixToolset.WixBA_x64.csproj
index 597e108d..44d030a5 100644
--- a/src/test/burn/WixToolset.WixBA/WixToolset.WixBA_x64.csproj
+++ b/src/test/burn/WixToolset.WixBA/WixToolset.WixBA_x64.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFrameworks>net6.0-windows;net472</TargetFrameworks> 6 <TargetFrameworks>net8.0-windows;net472</TargetFrameworks>
7 <OutputType>WinExe</OutputType> 7 <OutputType>WinExe</OutputType>
8 <AssemblyName>WixToolset.WixBA</AssemblyName> 8 <AssemblyName>WixToolset.WixBA</AssemblyName>
9 <RootNamespace>WixToolset.WixBA</RootNamespace> 9 <RootNamespace>WixToolset.WixBA</RootNamespace>
diff --git a/src/test/burn/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj b/src/test/burn/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj
index 751b7748..23a65cdc 100644
--- a/src/test/burn/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj
+++ b/src/test/burn/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0-windows</TargetFramework> 6 <TargetFramework>net8.0-windows</TargetFramework>
7 <PlatformTarget>x64</PlatformTarget> 7 <PlatformTarget>x64</PlatformTarget>
8 <IsWixTestProject>true</IsWixTestProject> 8 <IsWixTestProject>true</IsWixTestProject>
9 </PropertyGroup> 9 </PropertyGroup>
diff --git a/src/test/burn/test_burn.cmd b/src/test/burn/test_burn.cmd
index 178ac7e2..a956c838 100644
--- a/src/test/burn/test_burn.cmd
+++ b/src/test/burn/test_burn.cmd
@@ -16,8 +16,8 @@
16msbuild -Restore -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:%_L%\test_burn_build.binlog || exit /b 16msbuild -Restore -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:%_L%\test_burn_build.binlog || exit /b
17msbuild -Restore TestData\TestData.proj -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:%_L%\test_burn_data_build.binlog || exit /b 17msbuild -Restore TestData\TestData.proj -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:%_L%\test_burn_data_build.binlog || exit /b
18 18
19"%_B%\net462\win-x86\testexe.exe" /dm "%_B%\net6.0-windows\testhost.exe" 19"%_B%\net462\win-x86\testexe.exe" /dm "%_B%\net8.0-windows\testhost.exe"
20mt.exe -manifest "WixToolsetTest.BurnE2E\testhost.longpathaware.manifest" -updateresource:"%_B%\net6.0-windows\testhost.exe" 20mt.exe -manifest "WixToolsetTest.BurnE2E\testhost.longpathaware.manifest" -updateresource:"%_B%\net8.0-windows\testhost.exe"
21 21
22@if not "%RuntimeTestsEnabled%"=="true" goto :LExit 22@if not "%RuntimeTestsEnabled%"=="true" goto :LExit
23 23
diff --git a/src/test/msi/Directory.wixproj.props b/src/test/msi/Directory.wixproj.props
index de825e30..9325dcb6 100644
--- a/src/test/msi/Directory.wixproj.props
+++ b/src/test/msi/Directory.wixproj.props
@@ -3,7 +3,7 @@
3 <PropertyGroup> 3 <PropertyGroup>
4 <TestGroupName Condition=" '$(TestGroupName)'=='' ">$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))))</TestGroupName> 4 <TestGroupName Condition=" '$(TestGroupName)'=='' ">$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))))</TestGroupName>
5 <BaseIntermediateOutputPath>$(BaseOutputPath)obj\$(TestGroupName)\$(ProjectName)\</BaseIntermediateOutputPath> 5 <BaseIntermediateOutputPath>$(BaseOutputPath)obj\$(TestGroupName)\$(ProjectName)\</BaseIntermediateOutputPath>
6 <OutputPath>$(OutputPath)net6.0-windows\TestData\$(TestGroupName)\</OutputPath> 6 <OutputPath>$(OutputPath)net8.0-windows\TestData\$(TestGroupName)\</OutputPath>
7 <DefaultCompressionLevel>None</DefaultCompressionLevel> 7 <DefaultCompressionLevel>None</DefaultCompressionLevel>
8 <CompilerAdditionalOptions>-wx</CompilerAdditionalOptions> 8 <CompilerAdditionalOptions>-wx</CompilerAdditionalOptions>
9 <SuppressValidation>true</SuppressValidation> 9 <SuppressValidation>true</SuppressValidation>
diff --git a/src/test/msi/README.md b/src/test/msi/README.md
index f4c42029..bb7d9ee4 100644
--- a/src/test/msi/README.md
+++ b/src/test/msi/README.md
@@ -10,8 +10,8 @@ They modify machine state so it's strongly recommended *not* to run these tests
10They should be run on a VM instead, where you can easily roll back. 10They should be run on a VM instead, where you can easily roll back.
11 11
121. Run build.cmd to build everything (the tests will not automatically run). 121. Run build.cmd to build everything (the tests will not automatically run).
131. Copy the build\IntegrationMsi\Debug\net6.0-windows folder to your VM. 131. Copy the build\IntegrationMsi\Debug\net8.0-windows folder to your VM.
141. Open an elevated command prompt and navigate to the net6.0-windows folder. 141. Open an elevated command prompt and navigate to the net8.0-windows folder.
151. Run the runtests.cmd file to run the tests. 151. Run the runtests.cmd file to run the tests.
16 16
17You can modify the runtests.cmd to run specific tests. 17You can modify the runtests.cmd to run specific tests.
@@ -26,4 +26,4 @@ The VM must have:
26 26
27The current build process will poison your NuGet package cache, so you may have to run the following command to clear it: 27The current build process will poison your NuGet package cache, so you may have to run the following command to clear it:
28 28
29> nuget locals all -clear \ No newline at end of file 29> nuget locals all -clear
diff --git a/src/test/msi/WixToolsetTest.MsiE2E/WixToolsetTest.MsiE2E.csproj b/src/test/msi/WixToolsetTest.MsiE2E/WixToolsetTest.MsiE2E.csproj
index 7d4695d3..21b00b7d 100644
--- a/src/test/msi/WixToolsetTest.MsiE2E/WixToolsetTest.MsiE2E.csproj
+++ b/src/test/msi/WixToolsetTest.MsiE2E/WixToolsetTest.MsiE2E.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0-windows</TargetFramework> 6 <TargetFramework>net8.0-windows</TargetFramework>
7 <PlatformTarget>x64</PlatformTarget> 7 <PlatformTarget>x64</PlatformTarget>
8 <IsWixTestProject>true</IsWixTestProject> 8 <IsWixTestProject>true</IsWixTestProject>
9 </PropertyGroup> 9 </PropertyGroup>
diff --git a/src/test/wix/TestData/CsprojClassLibraryMultiFramework/CsprojClassLibraryMultiFramework.csproj b/src/test/wix/TestData/CsprojClassLibraryMultiFramework/CsprojClassLibraryMultiFramework.csproj
index bc30bf4b..3fc6a7c8 100644
--- a/src/test/wix/TestData/CsprojClassLibraryMultiFramework/CsprojClassLibraryMultiFramework.csproj
+++ b/src/test/wix/TestData/CsprojClassLibraryMultiFramework/CsprojClassLibraryMultiFramework.csproj
@@ -1,7 +1,7 @@
1<Project Sdk="Microsoft.NET.Sdk"> 1<Project Sdk="Microsoft.NET.Sdk">
2 2
3 <PropertyGroup> 3 <PropertyGroup>
4 <TargetFrameworks>net6.0;net472</TargetFrameworks> 4 <TargetFrameworks>net8.0;net472</TargetFrameworks>
5 <DebugType>embedded</DebugType> 5 <DebugType>embedded</DebugType>
6 </PropertyGroup> 6 </PropertyGroup>
7 7
diff --git a/src/test/wix/TestData/CsprojClassLibraryMultiTarget/CsprojClassLibraryMultiTarget.csproj b/src/test/wix/TestData/CsprojClassLibraryMultiTarget/CsprojClassLibraryMultiTarget.csproj
index 9e55d157..aa5782dd 100644
--- a/src/test/wix/TestData/CsprojClassLibraryMultiTarget/CsprojClassLibraryMultiTarget.csproj
+++ b/src/test/wix/TestData/CsprojClassLibraryMultiTarget/CsprojClassLibraryMultiTarget.csproj
@@ -1,7 +1,7 @@
1<Project Sdk="Microsoft.NET.Sdk"> 1<Project Sdk="Microsoft.NET.Sdk">
2 2
3 <PropertyGroup> 3 <PropertyGroup>
4 <TargetFrameworks>net6.0;net472</TargetFrameworks> 4 <TargetFrameworks>net8.0;net472</TargetFrameworks>
5 </PropertyGroup> 5 </PropertyGroup>
6 6
7 <ItemGroup> 7 <ItemGroup>
diff --git a/src/test/wix/TestData/CsprojConsoleMultiFramework/CsprojConsoleMultiFramework.csproj b/src/test/wix/TestData/CsprojConsoleMultiFramework/CsprojConsoleMultiFramework.csproj
index bb8a8b3e..095a48bd 100644
--- a/src/test/wix/TestData/CsprojConsoleMultiFramework/CsprojConsoleMultiFramework.csproj
+++ b/src/test/wix/TestData/CsprojConsoleMultiFramework/CsprojConsoleMultiFramework.csproj
@@ -2,7 +2,7 @@
2 2
3 <PropertyGroup> 3 <PropertyGroup>
4 <OutputType>Exe</OutputType> 4 <OutputType>Exe</OutputType>
5 <TargetFrameworks>net6.0;net472</TargetFrameworks> 5 <TargetFrameworks>net8.0;net472</TargetFrameworks>
6 <RuntimeIdentifiers>win-x86</RuntimeIdentifiers> 6 <RuntimeIdentifiers>win-x86</RuntimeIdentifiers>
7 </PropertyGroup> 7 </PropertyGroup>
8 8
diff --git a/src/test/wix/TestData/CsprojConsoleNetCore/CsprojConsoleNetCore.csproj b/src/test/wix/TestData/CsprojConsoleNetCore/CsprojConsoleNetCore.csproj
index b58706ec..8dd47979 100644
--- a/src/test/wix/TestData/CsprojConsoleNetCore/CsprojConsoleNetCore.csproj
+++ b/src/test/wix/TestData/CsprojConsoleNetCore/CsprojConsoleNetCore.csproj
@@ -2,7 +2,7 @@
2 2
3 <PropertyGroup> 3 <PropertyGroup>
4 <OutputType>Exe</OutputType> 4 <OutputType>Exe</OutputType>
5 <TargetFramework>net6.0</TargetFramework> 5 <TargetFramework>net8.0</TargetFramework>
6 <RuntimeIdentifiers>win-x86</RuntimeIdentifiers> 6 <RuntimeIdentifiers>win-x86</RuntimeIdentifiers>
7 </PropertyGroup> 7 </PropertyGroup>
8 8
diff --git a/src/test/wix/TestData/CsprojWebApplicationNetCore/CsprojWebApplicationNetCore.csproj b/src/test/wix/TestData/CsprojWebApplicationNetCore/CsprojWebApplicationNetCore.csproj
index 2cd83a64..cae0d3a6 100644
--- a/src/test/wix/TestData/CsprojWebApplicationNetCore/CsprojWebApplicationNetCore.csproj
+++ b/src/test/wix/TestData/CsprojWebApplicationNetCore/CsprojWebApplicationNetCore.csproj
@@ -1,7 +1,7 @@
1<Project Sdk="Microsoft.NET.Sdk.Web"> 1<Project Sdk="Microsoft.NET.Sdk.Web">
2 2
3 <PropertyGroup> 3 <PropertyGroup>
4 <TargetFramework>net6.0</TargetFramework> 4 <TargetFramework>net8.0</TargetFramework>
5 </PropertyGroup> 5 </PropertyGroup>
6 6
7 <ItemGroup> 7 <ItemGroup>
diff --git a/src/test/wix/TestData/WixprojLibraryMultiFramework/Library.wxs b/src/test/wix/TestData/WixprojLibraryMultiFramework/Library.wxs
index cf3d2d35..93049fd3 100644
--- a/src/test/wix/TestData/WixprojLibraryMultiFramework/Library.wxs
+++ b/src/test/wix/TestData/WixprojLibraryMultiFramework/Library.wxs
@@ -1,13 +1,13 @@
1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui"> 1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
2 <Fragment> 2 <Fragment>
3 <ComponentGroup Id='CsprojClassLibraryMultiFrameworkNet60' Directory='ApplicationFolder' Subdirectory="net6.0"> 3 <ComponentGroup Id='CsprojClassLibraryMultiFrameworkNet80' Directory='ApplicationFolder' Subdirectory="net8.0">
4 <Component> 4 <Component>
5 <File Id="Net60" Source='!(bindpath.CsprojConsoleMultiFramework.net6.0)CsprojConsoleMultiFramework.exe' /> 5 <File Id="Net80" Source='!(bindpath.CsprojConsoleMultiFramework.net8.0)CsprojConsoleMultiFramework.exe' />
6 <File Source='!(bindpath.CsprojConsoleMultiFramework.net6.0)CsprojConsoleMultiFramework.deps.json' /> 6 <File Source='!(bindpath.CsprojConsoleMultiFramework.net8.0)CsprojConsoleMultiFramework.deps.json' />
7 <File Source='!(bindpath.CsprojConsoleMultiFramework.net6.0)CsprojConsoleMultiFramework.runtimeconfig.json' /> 7 <File Source='!(bindpath.CsprojConsoleMultiFramework.net8.0)CsprojConsoleMultiFramework.runtimeconfig.json' />
8 </Component> 8 </Component>
9 <Component> 9 <Component>
10 <File Source='!(bindpath.CsprojConsoleMultiFramework.net6.0)CsprojClassLibraryMultiFramework.dll' /> 10 <File Source='!(bindpath.CsprojConsoleMultiFramework.net8.0)CsprojClassLibraryMultiFramework.dll' />
11 </Component> 11 </Component>
12 </ComponentGroup> 12 </ComponentGroup>
13 </Fragment> 13 </Fragment>
diff --git a/src/test/wix/TestData/WixprojLibraryMultiFramework/WixprojLibraryMultiFramework.wixproj b/src/test/wix/TestData/WixprojLibraryMultiFramework/WixprojLibraryMultiFramework.wixproj
index 66812ea2..ec224510 100644
--- a/src/test/wix/TestData/WixprojLibraryMultiFramework/WixprojLibraryMultiFramework.wixproj
+++ b/src/test/wix/TestData/WixprojLibraryMultiFramework/WixprojLibraryMultiFramework.wixproj
@@ -1,5 +1,5 @@
1<!-- 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. --> 1<!-- 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. -->
2<Project Sdk='WixToolset.Sdk'> 2<Project Sdk='WixToolset.Sdk'>
3 <PropertyGroup> 3 <PropertyGroup>
4 <OutputType>Library</OutputType> 4 <OutputType>Library</OutputType>
5 <BindFiles>true</BindFiles> 5 <BindFiles>true</BindFiles>
@@ -7,6 +7,6 @@
7 7
8 <ItemGroup> 8 <ItemGroup>
9 <ProjectReference Include="..\CsprojConsoleMultiFramework\CsprojConsoleMultiFramework.csproj" 9 <ProjectReference Include="..\CsprojConsoleMultiFramework\CsprojConsoleMultiFramework.csproj"
10 TargetFrameworks="net472;net6.0" Publish="true" /> 10 TargetFrameworks="net472;net8.0" Publish="true" />
11 </ItemGroup> 11 </ItemGroup>
12</Project> 12</Project>
diff --git a/src/test/wix/TestData/WixprojPackageCsprojWebApplicationNetCore/WixprojPackageCsprojWebApplicationNetCore.wixproj b/src/test/wix/TestData/WixprojPackageCsprojWebApplicationNetCore/WixprojPackageCsprojWebApplicationNetCore.wixproj
index 048f81ec..bbe0f49b 100644
--- a/src/test/wix/TestData/WixprojPackageCsprojWebApplicationNetCore/WixprojPackageCsprojWebApplicationNetCore.wixproj
+++ b/src/test/wix/TestData/WixprojPackageCsprojWebApplicationNetCore/WixprojPackageCsprojWebApplicationNetCore.wixproj
@@ -1,7 +1,7 @@
1<!-- 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. --> 1<!-- 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. -->
2<Project Sdk='WixToolset.Sdk'> 2<Project Sdk='WixToolset.Sdk'>
3<!-- <Project> --> 3<!-- <Project> -->
4 <!-- <Import Sdk="WixToolset.Sdk" Project='D:\src\wix4\build\wix\Debug\net6.0\Sdk\Sdk.props' /> --> 4 <!-- <Import Sdk="WixToolset.Sdk" Project='D:\src\wix4\build\wix\Debug\net8.0\Sdk\Sdk.props' /> -->
5 5
6 <PropertyGroup> 6 <PropertyGroup>
7 <!-- <WixBinDir>D:\src\wix4\build\wix\Debug\net472\</WixBinDir> --> 7 <!-- <WixBinDir>D:\src\wix4\build\wix\Debug\net472\</WixBinDir> -->
@@ -13,5 +13,5 @@
13 <ProjectReference Include="..\CsprojWebApplicationNetCore\CsprojWebApplicationNetCore.csproj" Publish="true" /> 13 <ProjectReference Include="..\CsprojWebApplicationNetCore\CsprojWebApplicationNetCore.csproj" Publish="true" />
14 </ItemGroup> 14 </ItemGroup>
15 15
16 <!-- <Import Sdk="WixToolset.Sdk" Project='D:\src\wix4\build\wix\Debug\net6.0\Sdk\Sdk.targets' /> --> 16 <!-- <Import Sdk="WixToolset.Sdk" Project='D:\src\wix4\build\wix\Debug\net8.0\Sdk\Sdk.targets' /> -->
17</Project> 17</Project>
diff --git a/src/test/wix/TestData/WixprojPackageCsprojWpfNetCore/WixprojPackageCsprojWebApplicationNetCore.wixproj b/src/test/wix/TestData/WixprojPackageCsprojWpfNetCore/WixprojPackageCsprojWebApplicationNetCore.wixproj
index 2dfa1073..686092b6 100644
--- a/src/test/wix/TestData/WixprojPackageCsprojWpfNetCore/WixprojPackageCsprojWebApplicationNetCore.wixproj
+++ b/src/test/wix/TestData/WixprojPackageCsprojWpfNetCore/WixprojPackageCsprojWebApplicationNetCore.wixproj
@@ -1,7 +1,7 @@
1<!-- 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. --> 1<!-- 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. -->
2<Project Sdk='WixToolset.Sdk'> 2<Project Sdk='WixToolset.Sdk'>
3<!-- <Project> --> 3<!-- <Project> -->
4 <!-- <Import Sdk="WixToolset.Sdk" Project='D:\src\wix4\build\wix\Debug\net6.0\Sdk\Sdk.props' /> --> 4 <!-- <Import Sdk="WixToolset.Sdk" Project='D:\src\wix4\build\wix\Debug\net8.0\Sdk\Sdk.props' /> -->
5 5
6 <PropertyGroup> 6 <PropertyGroup>
7 <!-- <WixBinDir>D:\src\wix4\build\wix\Debug\net472\</WixBinDir> --> 7 <!-- <WixBinDir>D:\src\wix4\build\wix\Debug\net472\</WixBinDir> -->
@@ -13,5 +13,5 @@
13 <ProjectReference Include="..\CsprojWpfNetCore\CsprojWpfNetCore.csproj" Publish="true" /> 13 <ProjectReference Include="..\CsprojWpfNetCore\CsprojWpfNetCore.csproj" Publish="true" />
14 </ItemGroup> 14 </ItemGroup>
15 15
16 <!-- <Import Sdk="WixToolset.Sdk" Project='D:\src\wix4\build\wix\Debug\net6.0\Sdk\Sdk.targets' /> --> 16 <!-- <Import Sdk="WixToolset.Sdk" Project='D:\src\wix4\build\wix\Debug\net8.0\Sdk\Sdk.targets' /> -->
17</Project> 17</Project>
diff --git a/src/wix/WixInternal.Core.MSTestPackage/WixInternal.Core.MSTestPackage.csproj b/src/wix/WixInternal.Core.MSTestPackage/WixInternal.Core.MSTestPackage.csproj
index 6b4bbefe..943e2c6d 100644
--- a/src/wix/WixInternal.Core.MSTestPackage/WixInternal.Core.MSTestPackage.csproj
+++ b/src/wix/WixInternal.Core.MSTestPackage/WixInternal.Core.MSTestPackage.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFrameworks>net6.0;net472</TargetFrameworks> 6 <TargetFramework>net8.0</TargetFramework>
7 <Description>Internal WiX Toolset MSTest Package</Description> 7 <Description>Internal WiX Toolset MSTest Package</Description>
8 <DebugType>embedded</DebugType> 8 <DebugType>embedded</DebugType>
9 <PublishRepositoryUrl>true</PublishRepositoryUrl> 9 <PublishRepositoryUrl>true</PublishRepositoryUrl>
diff --git a/src/wix/WixInternal.Core.MSTestPackage/WixRunnerResult.cs b/src/wix/WixInternal.Core.MSTestPackage/WixRunnerResult.cs
index 4a8c784d..61271dfd 100644
--- a/src/wix/WixInternal.Core.MSTestPackage/WixRunnerResult.cs
+++ b/src/wix/WixInternal.Core.MSTestPackage/WixRunnerResult.cs
@@ -23,7 +23,7 @@ namespace WixInternal.Core.MSTestPackage
23 public Message[] Messages { get; set; } 23 public Message[] Messages { get; set; }
24 24
25 /// <summary> 25 /// <summary>
26 /// 26 ///
27 /// </summary> 27 /// </summary>
28 /// <returns></returns> 28 /// <returns></returns>
29 public WixRunnerResult AssertSuccess() 29 public WixRunnerResult AssertSuccess()
@@ -33,13 +33,13 @@ namespace WixInternal.Core.MSTestPackage
33 } 33 }
34 34
35 /// <summary> 35 /// <summary>
36 /// 36 ///
37 /// </summary> 37 /// </summary>
38 /// <param name="exitCode"></param> 38 /// <param name="exitCode"></param>
39 /// <param name="messages"></param> 39 /// <param name="messages"></param>
40 public static void AssertSuccess(int exitCode, IEnumerable<Message> messages) 40 public static void AssertSuccess(int exitCode, IEnumerable<Message> messages)
41 { 41 {
42 Assert.IsTrue(0 == exitCode, $"\r\n\r\nWixRunner failed with exit code: {exitCode}\r\n Output: {String.Join("\r\n ", FormatMessages(messages))}\r\n"); 42 Assert.AreEqual(0, exitCode, $"\r\n\r\nWixRunner failed with exit code: {exitCode}\r\n Output: {String.Join("\r\n ", FormatMessages(messages))}\r\n");
43 } 43 }
44 44
45 private static IEnumerable<string> FormatMessages(IEnumerable<Message> messages) 45 private static IEnumerable<string> FormatMessages(IEnumerable<Message> messages)
diff --git a/src/wix/WixInternal.Core.TestPackage/WixInternal.Core.TestPackage.csproj b/src/wix/WixInternal.Core.TestPackage/WixInternal.Core.TestPackage.csproj
index 99ffe620..d0cbff99 100644
--- a/src/wix/WixInternal.Core.TestPackage/WixInternal.Core.TestPackage.csproj
+++ b/src/wix/WixInternal.Core.TestPackage/WixInternal.Core.TestPackage.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFrameworks>net6.0;net472</TargetFrameworks> 6 <TargetFramework>net8.0</TargetFramework>
7 <Description>Internal WiX Toolset Test Package</Description> 7 <Description>Internal WiX Toolset Test Package</Description>
8 <DebugType>embedded</DebugType> 8 <DebugType>embedded</DebugType>
9 <PublishRepositoryUrl>true</PublishRepositoryUrl> 9 <PublishRepositoryUrl>true</PublishRepositoryUrl>
diff --git a/src/wix/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj b/src/wix/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj
index 2938abe2..20d248c0 100644
--- a/src/wix/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj
+++ b/src/wix/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFrameworks>net6.0;net472</TargetFrameworks> 6 <TargetFrameworks>net8.0;net472</TargetFrameworks>
7 <Description></Description> 7 <Description></Description>
8 <Title>WiX Toolset MSBuild Tasks</Title> 8 <Title>WiX Toolset MSBuild Tasks</Title>
9 <DebugType>embedded</DebugType> 9 <DebugType>embedded</DebugType>
diff --git a/src/wix/WixToolset.Sdk/WixToolset.Sdk.csproj b/src/wix/WixToolset.Sdk/WixToolset.Sdk.csproj
index a45d660e..bbb63646 100644
--- a/src/wix/WixToolset.Sdk/WixToolset.Sdk.csproj
+++ b/src/wix/WixToolset.Sdk/WixToolset.Sdk.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <Description>WiX Toolset MSBuild integration</Description> 7 <Description>WiX Toolset MSBuild integration</Description>
8 <PackageReadmeFile>README.md</PackageReadmeFile> 8 <PackageReadmeFile>README.md</PackageReadmeFile>
9 <PublishDir>$(PublishRoot)WixToolset.Sdk\</PublishDir> 9 <PublishDir>$(PublishRoot)WixToolset.Sdk\</PublishDir>
diff --git a/src/wix/WixToolset.Sdk/tools/wix.targets b/src/wix/WixToolset.Sdk/tools/wix.targets
index f2cdd703..59b7d85f 100644
--- a/src/wix/WixToolset.Sdk/tools/wix.targets
+++ b/src/wix/WixToolset.Sdk/tools/wix.targets
@@ -26,7 +26,7 @@
26 26
27 <!-- These properties can be overridden to support non-default installations. --> 27 <!-- These properties can be overridden to support non-default installations. -->
28 <PropertyGroup> 28 <PropertyGroup>
29 <WixBinDir Condition=" '$(WixBinDir)' == '' and '$(MSBuildRuntimeType)' == 'Core' ">$(MSBuildThisFileDirectory)net6.0\</WixBinDir> 29 <WixBinDir Condition=" '$(WixBinDir)' == '' and '$(MSBuildRuntimeType)' == 'Core' ">$(MSBuildThisFileDirectory)net8.0\</WixBinDir>
30 <WixBinDir Condition=" '$(WixBinDir)' == '' ">$(MSBuildThisFileDirectory)net472\</WixBinDir> 30 <WixBinDir Condition=" '$(WixBinDir)' == '' ">$(MSBuildThisFileDirectory)net472\</WixBinDir>
31 <WixTasksPath Condition=" '$(WixTasksPath)' == '' ">$(WixBinDir)WixToolset.BuildTasks.dll</WixTasksPath> 31 <WixTasksPath Condition=" '$(WixTasksPath)' == '' ">$(WixBinDir)WixToolset.BuildTasks.dll</WixTasksPath>
32 </PropertyGroup> 32 </PropertyGroup>
diff --git a/src/wix/pack-wix/pack-wix.csproj b/src/wix/pack-wix/pack-wix.csproj
index 0a8dc89c..608b35b4 100644
--- a/src/wix/pack-wix/pack-wix.csproj
+++ b/src/wix/pack-wix/pack-wix.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IncludeBuildOutput>false</IncludeBuildOutput> 7 <IncludeBuildOutput>false</IncludeBuildOutput>
8 <Title>The WiX Toolset command-line interface.</Title> 8 <Title>The WiX Toolset command-line interface.</Title>
9 <Description>The WiX Toolset lets developers create installers for Windows. This package contains the WiX Toolset command-line interface.</Description> 9 <Description>The WiX Toolset lets developers create installers for Windows. This package contains the WiX Toolset command-line interface.</Description>
diff --git a/src/wix/pack-wix/pack-wix.nuspec b/src/wix/pack-wix/pack-wix.nuspec
index e7b79466..5d0c6193 100644
--- a/src/wix/pack-wix/pack-wix.nuspec
+++ b/src/wix/pack-wix/pack-wix.nuspec
@@ -23,7 +23,7 @@
23 <file src="$eulaTxt$" /> 23 <file src="$eulaTxt$" />
24 <file src="$iconPng$" /> 24 <file src="$iconPng$" />
25 <file src="$projectFolder$\README.md" /> 25 <file src="$projectFolder$\README.md" />
26 <file src="$projectFolder$\DotnetToolSettings.xml" target="tools\net6.0\any" /> 26 <file src="$projectFolder$\DotnetToolSettings.xml" target="tools\net8.0\any" />
27 <file src="**" target="tools\net6.0\any" exclude="**\*.xml;**\WixToolset.Core.Native.targets" /> 27 <file src="**" target="tools\net8.0\any" exclude="**\*.xml;**\WixToolset.Core.Native.targets" />
28 </files> 28 </files>
29</package> 29</package>
diff --git a/src/wix/publish_t.proj b/src/wix/publish_t.proj
index 2ba70656..a507ba31 100644
--- a/src/wix/publish_t.proj
+++ b/src/wix/publish_t.proj
@@ -2,27 +2,27 @@
2 <PropertyGroup> 2 <PropertyGroup>
3 <StagePublishX86>$(BaseIntermediateOutputPath)$(Configuration)\net472\x86\</StagePublishX86> 3 <StagePublishX86>$(BaseIntermediateOutputPath)$(Configuration)\net472\x86\</StagePublishX86>
4 <StagePublishX64>$(BaseIntermediateOutputPath)$(Configuration)\net472\x64\</StagePublishX64> 4 <StagePublishX64>$(BaseIntermediateOutputPath)$(Configuration)\net472\x64\</StagePublishX64>
5 <StagePublishDnc>$(BaseIntermediateOutputPath)$(Configuration)\net6.0\</StagePublishDnc> 5 <StagePublishDnc>$(BaseIntermediateOutputPath)$(Configuration)\net8.0\</StagePublishDnc>
6 6
7 <PublishBuildFolder>$(PublishRoot)WixToolset.Sdk\build\</PublishBuildFolder> 7 <PublishBuildFolder>$(PublishRoot)WixToolset.Sdk\build\</PublishBuildFolder>
8 <PublishHere>$(PublishRoot)WixToolset.Sdk\tools\net472\</PublishHere> 8 <PublishHere>$(PublishRoot)WixToolset.Sdk\tools\net472\</PublishHere>
9 <PublishX86>$(PublishRoot)WixToolset.Sdk\tools\net472\x86\</PublishX86> 9 <PublishX86>$(PublishRoot)WixToolset.Sdk\tools\net472\x86\</PublishX86>
10 <PublishX64>$(PublishRoot)WixToolset.Sdk\tools\net472\x64\</PublishX64> 10 <PublishX64>$(PublishRoot)WixToolset.Sdk\tools\net472\x64\</PublishX64>
11 <PublishARM64>$(PublishRoot)WixToolset.Sdk\tools\net472\arm64\</PublishARM64> 11 <PublishARM64>$(PublishRoot)WixToolset.Sdk\tools\net472\arm64\</PublishARM64>
12 <PublishDnc>$(PublishRoot)WixToolset.Sdk\tools\net6.0\</PublishDnc> 12 <PublishDnc>$(PublishRoot)WixToolset.Sdk\tools\net8.0\</PublishDnc>
13 </PropertyGroup> 13 </PropertyGroup>
14 14
15 <ItemGroup> 15 <ItemGroup>
16 <ProjectReference Include="WixToolset.BuildTasks\WixToolset.BuildTasks.csproj" Properties="TargetFramework=net472;PublishDir=$(StagePublishX86)WixToolset.BuildTasks" Targets="Publish" /> 16 <ProjectReference Include="WixToolset.BuildTasks\WixToolset.BuildTasks.csproj" Properties="TargetFramework=net472;PublishDir=$(StagePublishX86)WixToolset.BuildTasks" Targets="Publish" />
17 <ProjectReference Include="WixToolset.BuildTasks\WixToolset.BuildTasks.csproj" Properties="TargetFramework=net6.0;UseAppHost=false;PublishDir=$(StagePublishDnc)WixToolset.BuildTasks" Targets="Publish" /> 17 <ProjectReference Include="WixToolset.BuildTasks\WixToolset.BuildTasks.csproj" Properties="TargetFramework=net8.0;UseAppHost=false;PublishDir=$(StagePublishDnc)WixToolset.BuildTasks" Targets="Publish" />
18 18
19 <ProjectReference Include="wix\wix.csproj" Properties="TargetFramework=net6.0;PublishDir=$(BaseOutputPath)$(Configuration)\publish\wix\" Targets="Publish" /> 19 <ProjectReference Include="wix\wix.csproj" Properties="TargetFramework=net8.0;PublishDir=$(BaseOutputPath)$(Configuration)\publish\wix\" Targets="Publish" />
20 20
21 <!-- wix.exe doesn't need to filter any files so publish it straight into its final location --> 21 <!-- wix.exe doesn't need to filter any files so publish it straight into its final location -->
22 <ProjectReference Include="wix\wix.csproj" Properties="TargetFramework=net472;RuntimeIdentifier=win-x86;PublishDir=$(PublishX86)" Targets="Publish" /> 22 <ProjectReference Include="wix\wix.csproj" Properties="TargetFramework=net472;RuntimeIdentifier=win-x86;PublishDir=$(PublishX86)" Targets="Publish" />
23 <ProjectReference Include="wix\wix.csproj" Properties="TargetFramework=net472;RuntimeIdentifier=win-x64;PublishDir=$(PublishX64)" Targets="Publish" /> 23 <ProjectReference Include="wix\wix.csproj" Properties="TargetFramework=net472;RuntimeIdentifier=win-x64;PublishDir=$(PublishX64)" Targets="Publish" />
24 <ProjectReference Include="wix\wix.csproj" Properties="TargetFramework=net472;RuntimeIdentifier=win-arm64;PublishDir=$(PublishARM64)" Targets="Publish" /> 24 <ProjectReference Include="wix\wix.csproj" Properties="TargetFramework=net472;RuntimeIdentifier=win-arm64;PublishDir=$(PublishARM64)" Targets="Publish" />
25 <ProjectReference Include="wix\wix.csproj" Properties="TargetFramework=net6.0;UseAppHost=false;PublishDir=$(PublishDnc)" Targets="Publish" /> 25 <ProjectReference Include="wix\wix.csproj" Properties="TargetFramework=net8.0;UseAppHost=false;PublishDir=$(PublishDnc)" Targets="Publish" />
26 </ItemGroup> 26 </ItemGroup>
27 27
28 <Target Name="CopyToFinalPublishFolder" AfterTargets="Build"> 28 <Target Name="CopyToFinalPublishFolder" AfterTargets="Build">
diff --git a/src/wix/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj b/src/wix/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj
index 2938be48..ae413796 100644
--- a/src/wix/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj
+++ b/src/wix/test/CompileCoreTestExtensionWixlib/CompileCoreTestExtensionWixlib.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsPackable>false</IsPackable> 7 <IsPackable>false</IsPackable>
8 <OutputType>Exe</OutputType> 8 <OutputType>Exe</OutputType>
9 <SignOutput>false</SignOutput> 9 <SignOutput>false</SignOutput>
diff --git a/src/wix/test/Example.Extension/Example.Extension.csproj b/src/wix/test/Example.Extension/Example.Extension.csproj
index 353bbefd..932ab816 100644
--- a/src/wix/test/Example.Extension/Example.Extension.csproj
+++ b/src/wix/test/Example.Extension/Example.Extension.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsPackable>false</IsPackable> 7 <IsPackable>false</IsPackable>
8 <DebugType>embedded</DebugType> 8 <DebugType>embedded</DebugType>
9 <SignOutput>false</SignOutput> 9 <SignOutput>false</SignOutput>
diff --git a/src/wix/test/WixToolsetTest.Converters/ConverterIntegrationFixture.cs b/src/wix/test/WixToolsetTest.Converters/ConverterIntegrationFixture.cs
index be2bd41c..2682d926 100644
--- a/src/wix/test/WixToolsetTest.Converters/ConverterIntegrationFixture.cs
+++ b/src/wix/test/WixToolsetTest.Converters/ConverterIntegrationFixture.cs
@@ -162,7 +162,7 @@ namespace WixToolsetTest.Converters
162 var result = RunConversion(targetFile); 162 var result = RunConversion(targetFile);
163 163
164 Assert.Equal(13, result.ExitCode); 164 Assert.Equal(13, result.ExitCode);
165 Assert.Single(result.Messages.Where(message => message.ToString().EndsWith("(QtExecCmdTimeoutAmbiguous)"))); 165 Assert.Single(result.Messages, message => message.ToString().EndsWith("(QtExecCmdTimeoutAmbiguous)"));
166 166
167 var expected = File.ReadAllText(Path.Combine(folder, afterFileName)).Replace("\r\n", "\n"); 167 var expected = File.ReadAllText(Path.Combine(folder, afterFileName)).Replace("\r\n", "\n");
168 var actual = File.ReadAllText(targetFile).Replace("\r\n", "\n"); 168 var actual = File.ReadAllText(targetFile).Replace("\r\n", "\n");
diff --git a/src/wix/test/WixToolsetTest.Converters/UIExtensionFixture.cs b/src/wix/test/WixToolsetTest.Converters/UIExtensionFixture.cs
index a562fb59..bc53d960 100644
--- a/src/wix/test/WixToolsetTest.Converters/UIExtensionFixture.cs
+++ b/src/wix/test/WixToolsetTest.Converters/UIExtensionFixture.cs
@@ -126,7 +126,7 @@ namespace WixToolsetTest.Converters
126 var actual = UnformattedDocumentLines(document); 126 var actual = UnformattedDocumentLines(document);
127 127
128 WixAssert.CompareLineByLine(expected, actual); 128 WixAssert.CompareLineByLine(expected, actual);
129 Assert.Single(messaging.Messages.Where(m => m.Id == 65)); 129 Assert.Single(messaging.Messages, m => m.Id == 65);
130 Assert.Equal(2, errors); 130 Assert.Equal(2, errors);
131 } 131 }
132 } 132 }
diff --git a/src/wix/test/WixToolsetTest.Converters/WixToolsetTest.Converters.csproj b/src/wix/test/WixToolsetTest.Converters/WixToolsetTest.Converters.csproj
index 27bc24b6..09f311fb 100644
--- a/src/wix/test/WixToolsetTest.Converters/WixToolsetTest.Converters.csproj
+++ b/src/wix/test/WixToolsetTest.Converters/WixToolsetTest.Converters.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixTestProject>true</IsWixTestProject> 7 <IsWixTestProject>true</IsWixTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/wix/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj b/src/wix/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj
index a1cead3b..acf62788 100644
--- a/src/wix/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj
+++ b/src/wix/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <RuntimeIdentifier>win-x64</RuntimeIdentifier> 7 <RuntimeIdentifier>win-x64</RuntimeIdentifier>
8 <SelfContained>false</SelfContained> 8 <SelfContained>false</SelfContained>
9 <RequiresNativeWixAssets>true</RequiresNativeWixAssets> 9 <RequiresNativeWixAssets>true</RequiresNativeWixAssets>
diff --git a/src/wix/test/WixToolsetTest.Core/WixToolsetTest.Core.csproj b/src/wix/test/WixToolsetTest.Core/WixToolsetTest.Core.csproj
index 3907aae0..3329238f 100644
--- a/src/wix/test/WixToolsetTest.Core/WixToolsetTest.Core.csproj
+++ b/src/wix/test/WixToolsetTest.Core/WixToolsetTest.Core.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <IsWixTestProject>true</IsWixTestProject> 7 <IsWixTestProject>true</IsWixTestProject>
8 </PropertyGroup> 8 </PropertyGroup>
9 9
diff --git a/src/wix/test/WixToolsetTest.CoreIntegration/BundleExtractionFixture.cs b/src/wix/test/WixToolsetTest.CoreIntegration/BundleExtractionFixture.cs
index 4f44ca16..063f00c6 100644
--- a/src/wix/test/WixToolsetTest.CoreIntegration/BundleExtractionFixture.cs
+++ b/src/wix/test/WixToolsetTest.CoreIntegration/BundleExtractionFixture.cs
@@ -38,7 +38,7 @@ namespace WixToolsetTest.CoreIntegration
38 }); 38 });
39 39
40 result.AssertSuccess(); 40 result.AssertSuccess();
41 Assert.Empty(result.Messages.Where(m => m.Level == MessageLevel.Warning)); 41 Assert.DoesNotContain(result.Messages, m => m.Level == MessageLevel.Warning);
42 42
43 Assert.True(File.Exists(exePath)); 43 Assert.True(File.Exists(exePath));
44 44
diff --git a/src/wix/test/WixToolsetTest.CoreIntegration/BundleFixture.cs b/src/wix/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
index 9ff5e26c..174df55f 100644
--- a/src/wix/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
+++ b/src/wix/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
@@ -100,7 +100,7 @@ namespace WixToolsetTest.CoreIntegration
100 }); 100 });
101 101
102 result.AssertSuccess(); 102 result.AssertSuccess();
103 Assert.Empty(result.Messages.Where(m => m.Level == MessageLevel.Warning)); 103 Assert.DoesNotContain(result.Messages, m => m.Level == MessageLevel.Warning);
104 104
105 Assert.True(File.Exists(exePath)); 105 Assert.True(File.Exists(exePath));
106 Assert.True(File.Exists(pdbPath)); 106 Assert.True(File.Exists(pdbPath));
diff --git a/src/wix/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj b/src/wix/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj
index e0b5afd4..3b7ff268 100644
--- a/src/wix/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj
+++ b/src/wix/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net6.0</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <RequiresNativeWixAssets>true</RequiresNativeWixAssets> 7 <RequiresNativeWixAssets>true</RequiresNativeWixAssets>
8 <IsWixTestProject>true</IsWixTestProject> 8 <IsWixTestProject>true</IsWixTestProject>
9 </PropertyGroup> 9 </PropertyGroup>
diff --git a/src/wix/test/WixToolsetTest.CoreIntegration/WixlibFixture.cs b/src/wix/test/WixToolsetTest.CoreIntegration/WixlibFixture.cs
index 0cd8a542..50f8111d 100644
--- a/src/wix/test/WixToolsetTest.CoreIntegration/WixlibFixture.cs
+++ b/src/wix/test/WixToolsetTest.CoreIntegration/WixlibFixture.cs
@@ -125,9 +125,9 @@ namespace WixToolsetTest.CoreIntegration
125 var wixlib = Intermediate.Load(wixlibPath); 125 var wixlib = Intermediate.Load(wixlibPath);
126 var binarySymbols = wixlib.Sections.SelectMany(s => s.Symbols).OfType<BinarySymbol>().ToList(); 126 var binarySymbols = wixlib.Sections.SelectMany(s => s.Symbols).OfType<BinarySymbol>().ToList();
127 Assert.Equal(3, binarySymbols.Count); 127 Assert.Equal(3, binarySymbols.Count);
128 Assert.Single(binarySymbols.Where(t => t.Data.Path == "wix-ir/foo.dll")); 128 Assert.Single(binarySymbols, t => t.Data.Path == "wix-ir/foo.dll");
129 Assert.Single(binarySymbols.Where(t => t.Data.Path == "wix-ir/foo.dll-1")); 129 Assert.Single(binarySymbols, t => t.Data.Path == "wix-ir/foo.dll-1");
130 Assert.Single(binarySymbols.Where(t => t.Data.Path == "wix-ir/foo.dll-2")); 130 Assert.Single(binarySymbols, t => t.Data.Path == "wix-ir/foo.dll-2");
131 } 131 }
132 } 132 }
133 133
diff --git a/src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs b/src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs
index e1e2c1d7..25fd61d9 100644
--- a/src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs
+++ b/src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs
@@ -16,7 +16,7 @@ namespace WixToolsetTest.Sdk
16 [TestClass] 16 [TestClass]
17 public class MsbuildFixture 17 public class MsbuildFixture
18 { 18 {
19 public static readonly string WixMsbuildPath = Path.Combine(Path.GetDirectoryName(new Uri(typeof(MsbuildFixture).Assembly.CodeBase).LocalPath), "..", "..", "..", "publish", "WixToolset.Sdk"); 19 public static readonly string WixMsbuildPath = Path.Combine(Path.GetDirectoryName(typeof(MsbuildFixture).Assembly.Location), "..", "..", "..", "publish", "WixToolset.Sdk");
20 public static readonly string WixPropsPath = Path.Combine(WixMsbuildPath, "Sdk", "Sdk.props"); 20 public static readonly string WixPropsPath = Path.Combine(WixMsbuildPath, "Sdk", "Sdk.props");
21 21
22 [TestMethod] 22 [TestMethod]
@@ -707,8 +707,8 @@ namespace WixToolsetTest.Sdk
707 { 707 {
708 @"net472_x64\e_sqlite3.dll - 1601536", 708 @"net472_x64\e_sqlite3.dll - 1601536",
709 @"net472_x86\e_sqlite3.dll - 1207296", 709 @"net472_x86\e_sqlite3.dll - 1207296",
710 @"net6_x64\e_sqlite3.dll - 1601536", 710 @"net8_x64\e_sqlite3.dll - 1601536",
711 @"net6_x86\e_sqlite3.dll - 1207296", 711 @"net8_x86\e_sqlite3.dll - 1207296",
712 }, releaseFileSizes); 712 }, releaseFileSizes);
713 } 713 }
714 } 714 }
@@ -745,12 +745,12 @@ namespace WixToolsetTest.Sdk
745 { 745 {
746 @"debug_net472_x64\e_sqlite3.dll - 1601536", 746 @"debug_net472_x64\e_sqlite3.dll - 1601536",
747 @"debug_net472_x86\e_sqlite3.dll - 1207296", 747 @"debug_net472_x86\e_sqlite3.dll - 1207296",
748 @"debug_net6_x64\e_sqlite3.dll - 1601536", 748 @"debug_net8_x64\e_sqlite3.dll - 1601536",
749 @"debug_net6_x86\e_sqlite3.dll - 1207296", 749 @"debug_net8_x86\e_sqlite3.dll - 1207296",
750 @"release_net472_x64\e_sqlite3.dll - 1601536", 750 @"release_net472_x64\e_sqlite3.dll - 1601536",
751 @"release_net472_x86\e_sqlite3.dll - 1207296", 751 @"release_net472_x86\e_sqlite3.dll - 1207296",
752 @"release_net6_x64\e_sqlite3.dll - 1601536", 752 @"release_net8_x64\e_sqlite3.dll - 1601536",
753 @"release_net6_x86\e_sqlite3.dll - 1207296", 753 @"release_net8_x86\e_sqlite3.dll - 1207296",
754 }, releaseFileSizes); 754 }, releaseFileSizes);
755 } 755 }
756 } 756 }
diff --git a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageReleaseAndDebug/Package.wxs b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageReleaseAndDebug/Package.wxs
index b6da91ba..c3a5bb65 100644
--- a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageReleaseAndDebug/Package.wxs
+++ b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageReleaseAndDebug/Package.wxs
@@ -13,11 +13,11 @@
13 <Component Subdirectory="debug_net472_x64"> 13 <Component Subdirectory="debug_net472_x64">
14 <File Id="debug_net472_x64" Source="!(bindpath.TestExe.Debug.net472.win_x64)\e_sqlite3.dll" /> 14 <File Id="debug_net472_x64" Source="!(bindpath.TestExe.Debug.net472.win_x64)\e_sqlite3.dll" />
15 </Component> 15 </Component>
16 <Component Subdirectory="debug_net6_x86"> 16 <Component Subdirectory="debug_net8_x86">
17 <File Id="debug_net6_x86" Source="!(bindpath.TestExe.Debug.net6.0.win_x86)\e_sqlite3.dll" /> 17 <File Id="debug_net8_x86" Source="!(bindpath.TestExe.Debug.net8.0.win_x86)\e_sqlite3.dll" />
18 </Component> 18 </Component>
19 <Component Subdirectory="debug_net6_x64"> 19 <Component Subdirectory="debug_net8_x64">
20 <File Id="debug_net6_x64" Source="!(bindpath.TestExe.Debug.net6.0.win_x64)\e_sqlite3.dll" /> 20 <File Id="debug_net8_x64" Source="!(bindpath.TestExe.Debug.net8.0.win_x64)\e_sqlite3.dll" />
21 </Component> 21 </Component>
22 <Component Subdirectory="release_net472_x86"> 22 <Component Subdirectory="release_net472_x86">
23 <File Id="release_net472_x86" Source="!(bindpath.TestExe.Release.net472.win_x86)\e_sqlite3.dll" /> 23 <File Id="release_net472_x86" Source="!(bindpath.TestExe.Release.net472.win_x86)\e_sqlite3.dll" />
@@ -25,11 +25,11 @@
25 <Component Subdirectory="release_net472_x64"> 25 <Component Subdirectory="release_net472_x64">
26 <File Id="release_net472_x64" Source="!(bindpath.TestExe.Release.net472.win_x64)\e_sqlite3.dll" /> 26 <File Id="release_net472_x64" Source="!(bindpath.TestExe.Release.net472.win_x64)\e_sqlite3.dll" />
27 </Component> 27 </Component>
28 <Component Subdirectory="release_net6_x86"> 28 <Component Subdirectory="release_net8_x86">
29 <File Id="release_net6_x86" Source="!(bindpath.TestExe.Release.net6.0.win_x86)\e_sqlite3.dll" /> 29 <File Id="release_net8_x86" Source="!(bindpath.TestExe.Release.net8.0.win_x86)\e_sqlite3.dll" />
30 </Component> 30 </Component>
31 <Component Subdirectory="release_net6_x64"> 31 <Component Subdirectory="release_net8_x64">
32 <File Id="release_net6_x64" Source="!(bindpath.TestExe.Release.net6.0.win_x64)\e_sqlite3.dll" /> 32 <File Id="release_net8_x64" Source="!(bindpath.TestExe.Release.net8.0.win_x64)\e_sqlite3.dll" />
33 </Component> 33 </Component>
34 </ComponentGroup> 34 </ComponentGroup>
35 </Fragment> 35 </Fragment>
diff --git a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageReleaseAndDebug/PackageReleaseAndDebug.wixproj b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageReleaseAndDebug/PackageReleaseAndDebug.wixproj
index 17e17d98..cb02dd92 100644
--- a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageReleaseAndDebug/PackageReleaseAndDebug.wixproj
+++ b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageReleaseAndDebug/PackageReleaseAndDebug.wixproj
@@ -3,7 +3,7 @@
3 <Import Project="$(WixMSBuildProps)" /> 3 <Import Project="$(WixMSBuildProps)" />
4 4
5 <ItemGroup> 5 <ItemGroup>
6 <ProjectReference Include="..\TestExe\TestExe.csproj" Publish="true" Configurations="Debug,Release" TargetFrameworks="net6.0,net472" RuntimeIdentifiers="win-x86,win-x64" /> 6 <ProjectReference Include="..\TestExe\TestExe.csproj" Publish="true" Configurations="Debug,Release" TargetFrameworks="net8.0,net472" RuntimeIdentifiers="win-x86,win-x64" />
7 </ItemGroup> 7 </ItemGroup>
8 8
9 <Import Project="$(WixTargetsPath)" /> 9 <Import Project="$(WixTargetsPath)" />
diff --git a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingExplicitTfmAndRids/Package.wxs b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingExplicitTfmAndRids/Package.wxs
index 838461da..d7d32268 100644
--- a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingExplicitTfmAndRids/Package.wxs
+++ b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingExplicitTfmAndRids/Package.wxs
@@ -10,11 +10,11 @@
10 <Component Subdirectory="net472_x64"> 10 <Component Subdirectory="net472_x64">
11 <File Id="net472_x64" Source="!(bindpath.TestExe.net472.win_x64)\e_sqlite3.dll" /> 11 <File Id="net472_x64" Source="!(bindpath.TestExe.net472.win_x64)\e_sqlite3.dll" />
12 </Component> 12 </Component>
13 <Component Subdirectory="net6_x86"> 13 <Component Subdirectory="net8_x86">
14 <File Id="net6_x86" Source="!(bindpath.TestExe.net6.0.win_x86)\e_sqlite3.dll" /> 14 <File Id="net8_x86" Source="!(bindpath.TestExe.net8.0.win_x86)\e_sqlite3.dll" />
15 </Component> 15 </Component>
16 <Component Subdirectory="net6_x64"> 16 <Component Subdirectory="net8_x64">
17 <File Id="net6_x64" Source="!(bindpath.TestExe.net6.0.win_x64)\e_sqlite3.dll" /> 17 <File Id="net8_x64" Source="!(bindpath.TestExe.net8.0.win_x64)\e_sqlite3.dll" />
18 </Component> 18 </Component>
19 19
20 <!-- This is explicitly not built and causes the build to fail --> 20 <!-- This is explicitly not built and causes the build to fail -->
diff --git a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingExplicitTfmAndRids/PackageUsingExplicitTfmAndRids.wixproj b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingExplicitTfmAndRids/PackageUsingExplicitTfmAndRids.wixproj
index 42002428..e9ad8445 100644
--- a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingExplicitTfmAndRids/PackageUsingExplicitTfmAndRids.wixproj
+++ b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingExplicitTfmAndRids/PackageUsingExplicitTfmAndRids.wixproj
@@ -3,7 +3,7 @@
3 <Import Project="$(WixMSBuildProps)" /> 3 <Import Project="$(WixMSBuildProps)" />
4 4
5 <ItemGroup> 5 <ItemGroup>
6 <ProjectReference Include="..\TestExe\TestExe.csproj" Publish="true" TargetFrameworks="net6.0,net472|win-x64" RuntimeIdentifiers="win-x86,win-x64" /> 6 <ProjectReference Include="..\TestExe\TestExe.csproj" Publish="true" TargetFrameworks="net8.0,net472|win-x64" RuntimeIdentifiers="win-x86,win-x64" />
7 </ItemGroup> 7 </ItemGroup>
8 8
9 <Import Project="$(WixTargetsPath)" /> 9 <Import Project="$(WixTargetsPath)" />
diff --git a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingRids/Package.wxs b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingRids/Package.wxs
index 2fe7a289..f36b754e 100644
--- a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingRids/Package.wxs
+++ b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingRids/Package.wxs
@@ -13,11 +13,11 @@
13 <Component Subdirectory="net472_x64"> 13 <Component Subdirectory="net472_x64">
14 <File Id="net472_x64" Source="!(bindpath.TestExe.net472.win_x64)\e_sqlite3.dll" /> 14 <File Id="net472_x64" Source="!(bindpath.TestExe.net472.win_x64)\e_sqlite3.dll" />
15 </Component> 15 </Component>
16 <Component Subdirectory="net6_x86"> 16 <Component Subdirectory="net8_x86">
17 <File Id="net6_x86" Source="!(bindpath.TestExe.net6.0.win_x86)\e_sqlite3.dll" /> 17 <File Id="net8_x86" Source="!(bindpath.TestExe.net8.0.win_x86)\e_sqlite3.dll" />
18 </Component> 18 </Component>
19 <Component Subdirectory="net6_x64"> 19 <Component Subdirectory="net8_x64">
20 <File Id="net6_x64" Source="!(bindpath.TestExe.net6.0.win_x64)\e_sqlite3.dll" /> 20 <File Id="net8_x64" Source="!(bindpath.TestExe.net8.0.win_x64)\e_sqlite3.dll" />
21 </Component> 21 </Component>
22 </ComponentGroup> 22 </ComponentGroup>
23 </Fragment> 23 </Fragment>
diff --git a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingRids/PackageUsingRids.wixproj b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingRids/PackageUsingRids.wixproj
index e7d834d6..243b1914 100644
--- a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingRids/PackageUsingRids.wixproj
+++ b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/PackageUsingRids/PackageUsingRids.wixproj
@@ -3,7 +3,7 @@
3 <Import Project="$(WixMSBuildProps)" /> 3 <Import Project="$(WixMSBuildProps)" />
4 4
5 <ItemGroup> 5 <ItemGroup>
6 <ProjectReference Include="..\TestExe\TestExe.csproj" Publish="true" TargetFrameworks="net6.0,net472" RuntimeIdentifiers="win-x86,win-x64" /> 6 <ProjectReference Include="..\TestExe\TestExe.csproj" Publish="true" TargetFrameworks="net8.0,net472" RuntimeIdentifiers="win-x86,win-x64" />
7 </ItemGroup> 7 </ItemGroup>
8 8
9 <Import Project="$(WixTargetsPath)" /> 9 <Import Project="$(WixTargetsPath)" />
diff --git a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/TestExe/TestExe.csproj b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/TestExe/TestExe.csproj
index a7fe2eef..82dcd9dd 100644
--- a/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/TestExe/TestExe.csproj
+++ b/src/wix/test/WixToolsetTest.Sdk/TestData/MultiTargetingWixlib/TestExe/TestExe.csproj
@@ -2,7 +2,7 @@
2<Project Sdk="Microsoft.NET.Sdk"> 2<Project Sdk="Microsoft.NET.Sdk">
3 <PropertyGroup> 3 <PropertyGroup>
4 <OutputType>Exe</OutputType> 4 <OutputType>Exe</OutputType>
5 <TargetFrameworks>net6.0;net472</TargetFrameworks> 5 <TargetFrameworks>net8.0;net472</TargetFrameworks>
6 <RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers> 6 <RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
7 <SelfContained>false</SelfContained> 7 <SelfContained>false</SelfContained>
8 </PropertyGroup> 8 </PropertyGroup>
diff --git a/src/wix/test/WixToolsetTest.Sdk/WixToolsetTest.Sdk.csproj b/src/wix/test/WixToolsetTest.Sdk/WixToolsetTest.Sdk.csproj
index 5a617fb1..2ffebcb7 100644
--- a/src/wix/test/WixToolsetTest.Sdk/WixToolsetTest.Sdk.csproj
+++ b/src/wix/test/WixToolsetTest.Sdk/WixToolsetTest.Sdk.csproj
@@ -3,7 +3,7 @@
3 3
4<Project Sdk="MSTest.Sdk"> 4<Project Sdk="MSTest.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>net472</TargetFramework> 6 <TargetFramework>net8.0</TargetFramework>
7 <DefaultItemExcludes>TestData\**;$(DefaultItemExcludes)</DefaultItemExcludes> 7 <DefaultItemExcludes>TestData\**;$(DefaultItemExcludes)</DefaultItemExcludes>
8 <RequiresNativeWixAssets>true</RequiresNativeWixAssets> 8 <RequiresNativeWixAssets>true</RequiresNativeWixAssets>
9 <IsWixMSTestProject>true</IsWixMSTestProject> 9 <IsWixMSTestProject>true</IsWixMSTestProject>
@@ -18,6 +18,6 @@
18 </ItemGroup> 18 </ItemGroup>
19 19
20 <ItemGroup> 20 <ItemGroup>
21 <PackageReference Include="WixInternal.MSTestSupport" /> 21 <PackageReference Include="WixInternal.MSTestSupport" />
22 </ItemGroup> 22 </ItemGroup>
23</Project> 23</Project>
diff --git a/src/wix/wix.cmd b/src/wix/wix.cmd
index 68e13cd1..73e51c11 100644
--- a/src/wix/wix.cmd
+++ b/src/wix/wix.cmd
@@ -39,11 +39,11 @@ msbuild -t:Test test\WixToolsetTest.Sdk\WixToolsetTest.Sdk.csproj -p:Configurati
39 39
40:: Test 40:: Test
41dotnet test ^ 41dotnet test ^
42 %_B%\test\WixToolsetTest.Converters\net6.0\WixToolsetTest.Converters.dll ^ 42 %_B%\test\WixToolsetTest.Converters\net8.0\WixToolsetTest.Converters.dll ^
43 %_B%\test\WixToolsetTest.Converters.Symbolizer\net472\WixToolsetTest.Converters.Symbolizer.dll ^ 43 %_B%\test\WixToolsetTest.Converters.Symbolizer\net472\WixToolsetTest.Converters.Symbolizer.dll ^
44 %_B%\test\WixToolsetTest.Core\net6.0\WixToolsetTest.Core.dll ^ 44 %_B%\test\WixToolsetTest.Core\net8.0\WixToolsetTest.Core.dll ^
45 %_B%\test\WixToolsetTest.Core.Native\net6.0\win-x64\WixToolsetTest.Core.Native.dll ^ 45 %_B%\test\WixToolsetTest.Core.Native\net8.0\win-x64\WixToolsetTest.Core.Native.dll ^
46 %_B%\test\WixToolsetTest.CoreIntegration\net6.0\WixToolsetTest.CoreIntegration.dll ^ 46 %_B%\test\WixToolsetTest.CoreIntegration\net8.0\WixToolsetTest.CoreIntegration.dll ^
47 %_B%\test\WixToolsetTest.BuildTasks\net472\WixToolsetTest.BuildTasks.dll ^ 47 %_B%\test\WixToolsetTest.BuildTasks\net472\WixToolsetTest.BuildTasks.dll ^
48 --nologo -l "trx;LogFileName=%_L%\TestResults\wix.trx" || exit /b 48 --nologo -l "trx;LogFileName=%_L%\TestResults\wix.trx" || exit /b
49 49
diff --git a/src/wix/wix/wix.csproj b/src/wix/wix/wix.csproj
index 24131117..11099b1d 100644
--- a/src/wix/wix/wix.csproj
+++ b/src/wix/wix/wix.csproj
@@ -3,13 +3,13 @@
3 3
4<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFrameworks>net6.0;net472</TargetFrameworks> 6 <TargetFrameworks>net8.0;net472</TargetFrameworks>
7 <OutputType>Exe</OutputType> 7 <OutputType>Exe</OutputType>
8 <Description>WiX Toolset creates installation packages.</Description> 8 <Description>WiX Toolset creates installation packages.</Description>
9 <DebugType>embedded</DebugType> 9 <DebugType>embedded</DebugType>
10 <PublishRepositoryUrl>true</PublishRepositoryUrl> 10 <PublishRepositoryUrl>true</PublishRepositoryUrl>
11 <PackAsTool>true</PackAsTool> 11 <PackAsTool>true</PackAsTool>
12 <RuntimeIdentifiers Condition=" '$(RuntimeIdentifier)'=='' and '$(TargetFramework)'!='net6.0' ">win-x86;win-x64;win-arm64</RuntimeIdentifiers> 12 <RuntimeIdentifiers Condition=" '$(RuntimeIdentifier)'=='' and '$(TargetFramework)'!='net8.0' ">win-x86;win-x64;win-arm64</RuntimeIdentifiers>
13 <AppConfig>app.config</AppConfig> 13 <AppConfig>app.config</AppConfig>
14 <ApplicationManifest>wix.exe.manifest</ApplicationManifest> 14 <ApplicationManifest>wix.exe.manifest</ApplicationManifest>
15 <RollForward>Major</RollForward> 15 <RollForward>Major</RollForward>