Skip to content

Commit 387230b

Browse files
committed
Merge pull request #100667 from raulsntos/dotnet/fix-version-in-errors
[.NET] Update required .NET SDK version in error messages
2 parents dac0b67 + 63960e1 commit 387230b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/mono/mono_gd/gd_mono.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ godot_plugins_initialize_fn initialize_hostfxr_and_godot_plugins(bool &r_runtime
363363

364364
if (load_assembly_and_get_function_pointer == nullptr) {
365365
// Show a message box to the user to make the problem explicit (and explain a potential crash).
366-
OS::get_singleton()->alert(TTR("Unable to load .NET runtime, no compatible version was found.\nAttempting to create/edit a project will lead to a crash.\n\nPlease install the .NET SDK 6.0 or later from https://dotnet.microsoft.com/en-us/download and restart Godot."), TTR("Failed to load .NET runtime"));
366+
OS::get_singleton()->alert(TTR("Unable to load .NET runtime, no compatible version was found.\nAttempting to create/edit a project will lead to a crash.\n\nPlease install the .NET SDK 8.0 or later from https://get.dot.net and restart Godot."), TTR("Failed to load .NET runtime"));
367367
ERR_FAIL_V_MSG(nullptr, ".NET: Failed to load compatible .NET runtime");
368368
}
369369

@@ -551,7 +551,7 @@ void GDMono::initialize() {
551551
#else
552552

553553
// Show a message box to the user to make the problem explicit (and explain a potential crash).
554-
OS::get_singleton()->alert(TTR("Unable to load .NET runtime, specifically hostfxr.\nAttempting to create/edit a project will lead to a crash.\n\nPlease install the .NET SDK 6.0 or later from https://dotnet.microsoft.com/en-us/download and restart Godot."), TTR("Failed to load .NET runtime"));
554+
OS::get_singleton()->alert(TTR("Unable to load .NET runtime, specifically hostfxr.\nAttempting to create/edit a project will lead to a crash.\n\nPlease install the .NET SDK 8.0 or later from https://get.dot.net and restart Godot."), TTR("Failed to load .NET runtime"));
555555
ERR_FAIL_MSG(".NET: Failed to load hostfxr");
556556
#endif
557557
}

0 commit comments

Comments
 (0)