The “GenerateDepsFile” task failed unexpectedly

前端 未结 7 1068
梦如初夏
梦如初夏 2021-01-17 07:43

I tried to compile my new application in MonoDevelop and I got this error:

/usr/share/dotnet/sdk/2.2.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.

7条回答
  •  死守一世寂寞
    2021-01-17 08:08

    Your combination of Mono MSBuild and .NET Core SDK is incompatible because they use different versions of the internal NuGet library. To resolve this problem, you can:

    • Downgrade .NET Core SDK to 2.1.5xx or 2.2.1xx (for example, 2.1.505 or 2.2.108)
    • Upgrade Mono to 6.0

    You can find a detailed explanation of this problem and possible solutions here: https://rider-support.jetbrains.com/hc/en-us/articles/360004180039

提交回复
热议问题