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

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

    I had the same issue when i reference the Class library into my MVC web application,

    the issue was the nuget package version number mismatch between two projects.

    ex: my class library had log4net of 1.2.3 but my webapp had 1.2.6

    fix: just make sure both the project have the same version number referenced.

提交回复
热议问题