简体   繁体   中英

Visual Studio Professional 2012 error: This project references NuGet package(s) that are missing in ASP.NET MVC project

I just installed Visual Studio Professional 2012. I opened an ASP.NET MVC project I made earlier on a different computer. Here's the error list:

I tried the steps suggested in the error list, but it didn't help.

If I change the target framework to .NET framework 4.5.2, the references stop showing as invalid, but I still get errors:

The 'Microsoft.ApplicationInsights 2.2.0' package requires NuGet client version '2.8.50313' or above, but the current NuGet version is '2.6.40619.9041'. C:\\Users\\Hp\\Desktop\\repo.nuget\\nuget.targets

The command ""C:\\Users\\Hp\\Desktop\\repo.nuget\\NuGet.exe" install "C:\\Users\\Hp\\Desktop\\repo\\NewsAgency\\packages.config" -source "" -NonInteractive -RequireConsent -solutionDir "C:\\Users\\Hp\\Desktop\\repo\\ "" exited with code 1.

What am I doing wrong?

You need to update your nuget.

You can download here .

There are others questions about that here.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM