NETSDK1061: The project was restored using Microsoft.NETCore.App version 1.0.0, but with current settings, version 2.0.9 would be used instead

后端 未结 10 1584
清酒与你
清酒与你 2020-12-15 04:31

I\'m developing a mobile app and using MS App Center for CI. Yesterday the Unit Test project failed to build in App Center with the following error. I couldn\'t recreate the

10条回答
  •  暖寄归人
    2020-12-15 05:14

    I had this problem because I had a nuget source that was no longer existing. After removing the faulty nuget source I restored the project and everything worked.

    I restored the project via commandline:

    dotnet restore
    

提交回复
热议问题