简体   繁体   中英

Unable to add package Microsoft.Owin.Host.SystemWeb in Asp.net MVC 4.5 version from Nuget package manager

I have created project in asp.net MVC with 4.5 framework in 2015 VS. I am trying to add Microsoft.Owin.Host.SystemWeb this package from nuget package manager but getting error like

Could not install package 'Microsoft.Owin 4.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework.

Even if I changed framework still getting error and

Microsoft.Owin.Host.SystemWeb latest Version of this package is 4.0.

f you are installing last versions of SignalR you will not be able as it has some dependencies that require .Net4.5, but you can still install an old version of SignalR which uses .Net4.0, like

1.1.3 Install-Package Microsoft.AspNet.SignalR -Version 1.1.3

This is not the case any more, and the 2.x releases require .NET 4.5.

https://github.com/SignalR/SignalR/issues/1723

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