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

前端 未结 5 1109
说谎
说谎 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:54

    You will encounter the same issue in Visual Studio 2019. I have the same issue, I thought it was a conflict on Visual Studio 2017 but it wasn't.

    The fix is you have to remove the source that is causing the issue.

    You can remove it via Tools -> NuGet Package Manager -> Package Manager Settings

提交回复
热议问题