diff --git a/Directory.Build.props b/Directory.Build.props index ac31b9e88..1d2cd3291 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -16,6 +16,8 @@ Tools and packages produced by this repository support infrastructure and are not shipping on NuGet or via any other official channel. --> false + + XUnitV3 diff --git a/global.json b/global.json index 685586608..6fc2aed6a 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,9 @@ { "tools": { - "dotnet": "10.0.100-rc.1.25420.111" + "dotnet": "10.0.100-rc.2.25464.104" + }, + "test": { + "runner": "Microsoft.Testing.Platform" }, "msbuild-sdks": { "Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.25462.2", diff --git a/tests/Acceptance/EncCapabilitiesCompat.Tests/EncCapabilitiesCompat.Tests.csproj b/tests/Acceptance/EncCapabilitiesCompat.Tests/EncCapabilitiesCompat.Tests.csproj index d909267e9..1f3dfc322 100644 --- a/tests/Acceptance/EncCapabilitiesCompat.Tests/EncCapabilitiesCompat.Tests.csproj +++ b/tests/Acceptance/EncCapabilitiesCompat.Tests/EncCapabilitiesCompat.Tests.csproj @@ -1,5 +1,9 @@ + + Exe + + diff --git a/tests/BuildTool/ImportExplcitly.ShouldNotRun.Tests/ImportExplicitly.ShouldNotRun.Tests.csproj b/tests/BuildTool/ImportExplcitly.ShouldNotRun.Tests/ImportExplicitly.ShouldNotRun.Tests.csproj index 7f9e042db..956097ffa 100644 --- a/tests/BuildTool/ImportExplcitly.ShouldNotRun.Tests/ImportExplicitly.ShouldNotRun.Tests.csproj +++ b/tests/BuildTool/ImportExplcitly.ShouldNotRun.Tests/ImportExplicitly.ShouldNotRun.Tests.csproj @@ -1,5 +1,9 @@ + + Exe + + diff --git a/tests/BuildTool/ImportExplcitly.Tests/ImportExplicitly.Tests.csproj b/tests/BuildTool/ImportExplcitly.Tests/ImportExplicitly.Tests.csproj index 028f781b5..e5a3f044b 100644 --- a/tests/BuildTool/ImportExplcitly.Tests/ImportExplicitly.Tests.csproj +++ b/tests/BuildTool/ImportExplcitly.Tests/ImportExplicitly.Tests.csproj @@ -8,6 +8,7 @@ false true + Exe diff --git a/tests/HotReload.Generator/EnC.Tests/EnC.Tests.csproj b/tests/HotReload.Generator/EnC.Tests/EnC.Tests.csproj index 32af4b6a3..3d63fb204 100644 --- a/tests/HotReload.Generator/EnC.Tests/EnC.Tests.csproj +++ b/tests/HotReload.Generator/EnC.Tests/EnC.Tests.csproj @@ -1,5 +1,9 @@ + + Exe + + diff --git a/tests/HotReload.Generator/EnC.Tests/WatchHotReloadServiceTest.cs b/tests/HotReload.Generator/EnC.Tests/WatchHotReloadServiceTest.cs index 1f0331e94..2338717d1 100644 --- a/tests/HotReload.Generator/EnC.Tests/WatchHotReloadServiceTest.cs +++ b/tests/HotReload.Generator/EnC.Tests/WatchHotReloadServiceTest.cs @@ -44,7 +44,7 @@ public static void M1() { using (var peStream = File.OpenWrite(project.CompilationOutputInfo.AssemblyPath!)) using (var pdbStream = File.OpenWrite(Path.ChangeExtension(project.CompilationOutputInfo.AssemblyPath!, ".pdb"))) { - var emitResult = comp.Emit(peStream, pdbStream, options: new EmitOptions(debugInformationFormat: DebugInformationFormat.PortablePdb)); + var emitResult = comp.Emit(peStream, pdbStream, options: new EmitOptions(debugInformationFormat: DebugInformationFormat.PortablePdb), cancellationToken: TestContext.Current.CancellationToken); ValidateEmitResult(emitResult); }