Error on installing ASP.NET Identity 2 Samples

走远了吗. 提交于 2020-01-24 03:44:05

问题


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?

来源:https://stackoverflow.com/questions/24987678/error-on-installing-asp-net-identity-2-samples

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!