Godot无法构建C#脚本:找不到.NETFramework,Version = v4.7的参考程序集

问题描述

我使用Mono使用Godot Game引擎v3.2.2启动了一个玩具项目。 我只是尝试编译一个非常简单的C#脚本,并且构建失败并在日志中引发以下错误:

Project "Bloopers.sln" (Build target(s)):
Message: Building solution configuration "Debug|Any CPU".
Project "Bloopers.csproj" (default targets):
    /usr/share/dotnet/sdk/3.1.402/Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.7 were not found. To resolve this,install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/home/mrblack/src/games/godot/godot_v3/lab/first_game_dotnet/Bloopers.csproj]
    MakeDir: Creating directory ".mono/temp/obj/Debug/".
Done building project "Bloopers.csproj" -- FAILED.

完成的建筑项目“ Bloopers.sln”-失败。

我安装了Mono v.6.12。任何对此问题的见解将不胜感激! 谢谢!!!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)