The “GenerateDepsFile” task failed unexpectedly

前端 未结 7 980
梦如初夏
梦如初夏 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:22

    I had .net standard project built on .net standard 2.0. Yesterday I updated my Visual Studio 2019 to 16.3.0 to leverage .Net Core 3.0. But all of sudden build of project targeting on standard 2.0 started throwing "GenerateDepsFile" task failed unexpectedly error.

    I was able to resolve this issue by changing the target framework to 2.1.

提交回复
热议问题