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

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

    In my case it happened after I moved my solution folder from one location to another, re-organized it a bit and in the process its relative folder structure changed.

    So I had to edit all entries similar to the following one in my .csproj file from

      
    

    to

      
    

    (Note the change from ..\packages\ to packages\. It might be a different relative structure in your case, but you get the idea.)

提交回复
热议问题