无法安装包'Microsoft.Owin.Security 2.0.1'。 [英] Could not install package 'Microsoft.Owin.Security 2.0.1'.
问题描述
无法安装软件包'Microsoft.Owin.Security 2.0.1'。您正在尝试将此软件包安装到以.NETFramework,Version = v4.0为目标的项目中,但该软件包不包含与该框架兼容的任何程序集引用或内容文件。有关更多信息,请联系包裹作者。
我现在应该怎么做...?
提前感谢..
Could not install package 'Microsoft.Owin.Security 2.0.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
what i should i have to now...?
thanks in advance..
推荐答案
参考 - 我不能似乎安装SignalR与MVC4 [ ^ ]。这可能会对你有所帮助。
Refer - I can't seem to install SignalR with MVC4[^]. This might help you.
似乎是几天前(10月17日) ,发布了一个新版本的SignalR(版本2.0.0),它使用了需要.NET4.5的新版Microsoft.OWIN.Security。为了解决这个问题,我使用以下Package Manager控制台命令安装了以前的版本(1.1.3):
It seems that a couple of days ago (17th October), a new version of SignalR was released (version 2.0.0), which uses a new version of Microsoft.OWIN.Security that requires .NET4.5. To get around this, I simply installed the previous version (1.1.3) using the following Package Manager Console command:
install-package Microsoft.AspNet.SignalR -Version 1.1.3
这篇关于无法安装包'Microsoft.Owin.Security 2.0.1'。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!