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

后端 未结 19 1481
南方客
南方客 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 had to do with the Microsoft.Build.Bcl version. My nuget package version was 1.0.21, but my project files were still pointing to version 1.0.14

    So I changed my .csproj files from:

      
       
        
        
      
    

    to:

     
      
        
        
    

    And the build was working again.

提交回复
热议问题