Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load .NET runtime - Error message has wrong version #100635

Closed
Sove67 opened this issue Dec 20, 2024 · 2 comments · Fixed by #100667
Closed

Failed to load .NET runtime - Error message has wrong version #100635

Sove67 opened this issue Dec 20, 2024 · 2 comments · Fixed by #100667

Comments

@Sove67
Copy link

Sove67 commented Dec 20, 2024

Tested versions

System information

Godot v4.4.dev7.mono - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 (NVIDIA; 32.0.15.6094) - Intel(R) Core(TM) i5-7640X CPU @ 4.00GHz (4 threads)

Issue description

The error message for missing .NET install requests version 6.0, but actually needs 8.0. This appeared when attempting to run 4.4 dev 7 with .Net 7.0 installed, and confused me for a bit. Installing .NET 9.0 made it stop appearing on application start.

Image

Also, I don't usually create GitHub issues, but I knew I could document a small issue like this. Let me know if I've done anything improperly.

Steps to reproduce

Start godot 4.4 dev 7, without .NET 8.0+ installed.

Minimal reproduction project (MRP)

N/A. Occurs before opening a project.

@Sove67
Copy link
Author

Sove67 commented Dec 20, 2024

Hmm... ran into an additional C# hiccup, that maybe I should make a separate issue for?
Image

PS D:\daem> dotnet add package Godot.NET.Sdk
D:\daem\Daem.csproj : error : Could not resolve SDK "Godot.NET.Sdk". Exactly one of the probing messages below indicate
s why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
D:\daem\Daem.csproj : error :   SDK resolver "Microsoft.DotNet.MSBuildWorkloadSdkResolver" returned null.
D:\daem\Daem.csproj : error :   Unable to find package Godot.NET.Sdk with version (= 4.4.0-dev.7)
D:\daem\Daem.csproj : error :   - Found 106 version(s) in nuget.org [ Nearest version: 4.4.0-dev.6 ]
D:\daem\Daem.csproj : error :   - Found 0 version(s) in Microsoft Visual Studio Offline Packages
D:\daem\Daem.csproj : error MSB4236: The SDK 'Godot.NET.Sdk/4.4.0-dev.7' specified could not be found.
Unable to create dependency graph file for project 'D:\daem\Daem.csproj'. Cannot add package reference.

4.4.0-dev.7 doesn't seem to exist on nuget yet. Closest version is 4.4.0-dev.6

I'm willing to bet it's still uploading/propagating, seeing as dev 7 released today. Will check again later. Excited to have jolt in the engine!

@akien-mga
Copy link
Member

The missing SDK on NuGet was an oversight, it's now fixed.

The error message referencing .NET 6.0 should be fixed though @raulsntos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants