From 3259db0851d8b29d24bc3ce96b1d9e323a68e3bc Mon Sep 17 00:00:00 2001 From: Friedrich von Never Date: Sat, 18 Nov 2023 22:32:33 +0100 Subject: [PATCH] (#354) Tests: fix the runtimes properly --- Cesium.Test.Framework/CSharpCompilationUtil.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cesium.Test.Framework/CSharpCompilationUtil.cs b/Cesium.Test.Framework/CSharpCompilationUtil.cs index 958caf63..db20a668 100644 --- a/Cesium.Test.Framework/CSharpCompilationUtil.cs +++ b/Cesium.Test.Framework/CSharpCompilationUtil.cs @@ -10,7 +10,8 @@ public static class CSharpCompilationUtil { public static readonly TargetRuntimeDescriptor DefaultRuntime = TargetRuntimeDescriptor.Net60; private const string _configuration = "Debug"; - private const string _targetRuntime = "net6.0"; + private const string _targetRuntime = "net7.0"; + private const string _cesiumRuntimeLibTargetRuntime = "net6.0"; private const string _projectName = "TestProject"; /// Semaphore that controls the amount of simultaneously running tests. @@ -76,7 +77,7 @@ private static string GetCesiumRuntimeLibraryPath() => Path.Combine( "Cesium.Runtime", "bin", _configuration, - _targetRuntime, + _cesiumRuntimeLibTargetRuntime, "Cesium.Runtime.dll"); private static Task CompileCSharpProject(ITestOutputHelper output, string directory, string projectName) =>