Skip to content

Commit

Permalink
Ask for .net sdk 8.0.8+.
Browse files Browse the repository at this point in the history
  • Loading branch information
Damnae committed Aug 29, 2024
1 parent a2a58aa commit 5421f83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/ScreenLayers/StartMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ public override void Load()
newProjectButton.Disabled = true;
openProjectButton.Disabled = true;

Trace.WriteLine($".NET SDK {RuntimeEnvironment.GetSystemVersion()} ({(Environment.Is64BitProcess ? "x64" : "x86")}) not found at {sdkPath},\n from {RuntimeEnvironment.GetRuntimeDirectory()}");
Manager.ShowMessage($".NET SDK {RuntimeEnvironment.GetSystemVersion()} ({(Environment.Is64BitProcess ? "x64" : "x86")}) is required, do you want to install it?",
Trace.WriteLine($".NET SDK {RuntimeEnvironment.GetSystemVersion()} not found at {sdkPath},\n from {RuntimeEnvironment.GetRuntimeDirectory()}");
Manager.ShowMessage($".NET SDK 8.0.8 x86 (or more recent) is required, do you want to install it?",
() => Process.Start(new ProcessStartInfo() { FileName = "https://dotnet.microsoft.com/en-us/download/dotnet/8.0", UseShellExecute = true }), true);
}

Expand Down

0 comments on commit 5421f83

Please sign in to comment.