全新的 Monodevelop 安装无法恢复包

问题描述

我正在尝试使用 MonoDevelop 来处理 .NET Core。在一台全新的 Linux Mint 20.1 机器上,我安装了 MonoDevelop 7.8.4,并打开了一个我正在做的项目,IDE 立即抱怨:

Getting restore information for solution /home/REDACTED/project.sln
ApplicationName='/usr/bin/mono64',CommandLine='"/usr/lib/mono/msbuild/15.0/bin/MSBuild.dll" "/tmp/NuGetScratch/3r24uwj4.84i.nugetinputs.targets" /t:GenerateRestoreGraphFile /nologo /nr:false /v:q /p:RestoreBuildInParallel="False" /p:RestoreUseSkipNonexistentTargets="False"',CurrentDirectory='/home/REDACTED',Native error= Cannot find the specified file

文件 /usr/bin/mono64 不存在。有谁知道我该如何解决这个问题?

更新

当我尝试构建项目时,它失败并显示以下错误

Error: NuGet packages need to be restored before building. NuGet MSBuild targets are missing and are needed for building. The NuGet MSBuild targets are generated when the NuGet packages are restored. (My.App)

这似乎与之前的错误信息有关。

解决方法

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

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

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