NuGet Package restore failed for project Miscellaneous Files: Value cannot be null or an empty string. Parameter name: root. 0 0

前端 未结 16 2058
傲寒
傲寒 2020-12-15 02:03

I have such error in vs 2012: NuGet Package restore failed for project Miscellaneous Files: Value cannot be null or an empty string. Parameter name: root. 0 0

I see

相关标签:
16条回答
  • 2020-12-15 03:03

    I fixed this issue after clicking the "Clear All Nuget Cache(s)"

    0 讨论(0)
  • 2020-12-15 03:04

    I right clicked the solution and chose "Enable Nuget Package Restore". This fixed the problem.

    This link from MSDN shows how:

    http://blogs.msdn.com/b/dotnet/archive/2013/06/12/nuget-package-restore-issues.aspx

    nuget visual-studio

    0 讨论(0)
  • 2020-12-15 03:05

    A simple restart of Visual Studio should clear everything up. I had the same issue in VS2013 after upgrading Web API. It was not necessary to delete the .suo.

    0 讨论(0)
  • 2020-12-15 03:06

    It did not work for me. I had to go to tools, extension manager... Uninstall NuGet Restart Visual Studio 2010 Download NuGet Reinstall it. Restart Visual Studio. Fixed it all!

    0 讨论(0)
提交回复
热议问题