Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 Package Manager Console error

Tags:

When trying to install anything with the Package Manager Console, I get this error:

Install-Package : The schema version of 'Microsoft.Bcl' is incompatible with version 2.0.30625.9003 of      NuGet. Please upgrade NuGet to the latest version from  http://go.microsoft.com/fwlink/?LinkId=213942. At line:1 char:1 + Install-Package Moment.js + ~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand 
like image 778
user3272686 Avatar asked Feb 13 '14 21:02

user3272686


People also ask

How do I open the package manager console in Visual Studio 2012?

Open the project/solution in Visual Studio, and open the console using the Tools > NuGet Package Manager > Package Manager Console command.

How do I clean my package manager console?

Open Visual Studio, go to Tools -> NuGet Package Manager -> Package Manager Settings menu. Click Clear All NuGet Cache(s) button in options dialog then clearing process is started.

How do I get the package manager console Code in Visual Studio?

To open the console in Visual Studio, go to the main menu and select Tools > NuGet Package Manager > Package Manager Console command.


2 Answers

I got this error when installing Nuget google calendar API 3.0, in Visual studio 2012. Go to Tools -> Extension and updates -> there under updates you will find Nuget Package Manager. Try to update it. This worked for me.

like image 195
S.Roshanth Avatar answered Oct 15 '22 21:10

S.Roshanth


It works now. I went to the site and had to uninstall and reinstall NuGet. Thanks

like image 37
user3272686 Avatar answered Oct 15 '22 22:10

user3272686