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

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

    I had this error in different situation. I checked contents of Nuget.config in my solution folder and under node it had an entry pointing to ./nuget. This folder didn't exist in the solution directory, so I just created an empty folder with this name and the solution compiled without any problems.

提交回复
热议问题