This project references NuGet package(s) that are missing on this computer

后端 未结 19 1453
南方客
南方客 2020-11-28 00:29

I have an ASP.NET MVC5 application that worked yesterday and now I am getting this error when I try to build:

This project references NuGet package(s)

19条回答
  •  一整个雨季
    2020-11-28 01:33

    Is it possible that the packages have been restored to the wrong folder? Check that the paths in the csproj files are correct.

    If they are different it could be caused by the packages now being restored to a different location. This could be caused by a NuGet.Config file being checked in specifying a node like this:

    
    

    The packages are being restored, by the projects are still looking at the old location.

提交回复
热议问题