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

后端 未结 19 1455
南方客
南方客 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:27

    One solution would be to remove from the .csproj file the following:

    
    
      
        This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
      
      
    
    

    How?

    1. Right click on project. Unload Project.
    2. Right click on project. Edit csproj.
    3. Remove the part from the file. Save.
    4. Right click on project. Reload Project.

提交回复
热议问题