0 votes

Hey,
I have the problem with every project that includes C#-scripts (my own projects and also Templates like the "Pong with C#"). When I want to test a scene or the whole project I get 2 Errors:


C:\Users....nuget\packages\godot.net.sdk\3.3.0\Sdk\Sdk.targets(19,9): The "TargetFrameworkFallbackSearchPaths" parameter is not supported by the "GetReferenceAssemblyPaths" task. Verify the parameter exists on the task, and it is a settable public instance property.
Code: MSB4064
File: C:....nuget\packages\godot.net.sdk\3.3.0\Sdk.targets

and

C:\Users....nuget\packages\godot.net.sdk\3.3.0\Sdk\Sdk.targets(16,5): The "GetReferenceAssemblyPaths" task could not be initialized with its input parameters.
Code: MSB4063
File: C:....nuget\packages\godot.net.sdk\3.3.0\Sdk.targets


I already checked the Requirements and even reinstalled MSBuild Tools via Mono SDK and Visual Studio Build Tools.
I also tested to run the projects on another machine were it works without any problems (Same Godot version, Same OS (Windows 10)).
In projects where only GDScript scripts are included the errors do not appear.

Does anyone know what the problem could be?

Godot version 3.3.4
in Engine by (14 points)

Hi, it seems you have issue with MSBuild Tools, in order to fix this I know one solution, install .Net Core SDk with Visual Studio Installer or .NET Core SDK

Then you should check the build settings goto menu Editor then select Mono-->Builds-->Build Tools set it to donet cli

Hey, it works! Thank you! I thought the basic "MSBuild Tools" is enough.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.