Unable to find nuget local source error occurred while restoring nuget packages the local source doesn't exist

前端 未结 5 1182
说谎
说谎 2021-02-12 05:57

I\'ve been given a visual studio 2017 solution. When I open it fails as with the error:

Error occurred while restoring NuGet packages: The local source \'\\\\netw

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-12 06:49

    In my case i have getting this error: Error occurred while restoring NuGet packages: The local source 'C:\Microsoft\Xamarin\NuGet' doesn't exist.

    I have accidentally deleted 'C:\Microsoft\Xamarin\' folder. After this VS2019 was not able to restore packages. I just manually created 'C:\Microsoft\Xamarin\NuGet' folder. Restarted VS, cleaned solution and everything goes well after this.

提交回复
热议问题