Skip to content

Commit

Permalink
(#354) Tests: fix the runtimes properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Nov 18, 2023
1 parent 12b22d4 commit 3259db0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cesium.Test.Framework/CSharpCompilationUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/// <summary>Semaphore that controls the amount of simultaneously running tests.</summary>
Expand Down Expand Up @@ -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) =>
Expand Down

0 comments on commit 3259db0

Please sign in to comment.