Error on installing ASP.NET Identity 2 Samples

2019-06-19 00:25发布

问题:

I'm trying to install ASP.NET Identity 2 samples project. I open Visual Studio 2013, create an empty ASP.NET project, open Package Manager Console and type:

Install-Package Microsoft.AspNet.Identity.Samples -Pre

After some time of installing it returns an error:

Unable to uninstall 'jQuery 1.10.2' because 'bootstrap 3.0.0' depends on it.

Ok, I type the installation command again. This time the error is:

Failed to add reference to 'System.Net.Http'. Please make sure that it is in the Global Assembly Cache.

All subsequent attempts to install finish up with the same error.

UPD: I have installed the samples successfully using "Manage NuGet Packages" UI. Still interested why it have not worked in console? Have I done something wrong?