How do I properly set up Microsoft.NET.Sdk for Godot Engine v3.3.2?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By summerjw

I recently downloaded Godot Engine 3.3.2 Mono (for C# support) 64-bit on my Windows machine so I could try the engine with C#. I also installed the latest LTS version (to-date) of .NET Core (v3.1.17) after learning that it was a prerequisite. For some reason, I am still getting the same warnings and error when I try to run the project:

  • [warning] - C:\Users\summe\Documents\Godot Projects\First2\First2.csproj(0,0): Skipping restore for project ‘C:\Users[Username]\Documents\Godot Projects\First2\First2.csproj’. The project file may be invalid or missing targets required for restore.
  • [warning] - C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(131,5): Unable to find a project to restore!
  • [error] - C:\Users\summe.nuget\packages\\3.3.0\Sdk\Sdk.props(29,11): The SDK ‘Microsoft.NET.Sdk’ specified could not be found.

Most of the research I’ve seen with similar issues state that the error implies that Godot is looking for a specific version of the .NET SDK, but I don’t see anything in the stack or related files of what version it’s looking for. I also don’t know if the above warnings are relevant to this issue.

I would appreciate help ASAP as I have an interview tomorrow that I need Godot and C# for :expressionless:


:bust_in_silhouette: Reply From: h1p3rcub3

I have the same problem. Have you found any solution/workaround?