How to install Owin
asp.net, c#, nuget, owin
Solution
I'm very surprised. I searched for system requirements for Microsoft OWIN aka Katana. I had a hard time finding a definitive answer on this as well.
So when in doubt, head to the source:
https://katanaproject.codeplex.com/SourceControl/latest#src/Microsoft.Owin.Security/Microsoft.Owin.Security.csproj
According to the project file:
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
That is why NuGet won't let you install the package. You need to update your project to .NET 4.5 Framework.
Problem
I'm try to install owin.security on my asp.net mvc 4 application from here https://www.nuget.org/packages/Owin.Security.Providers/ , but have an error: ``` Install-Package : Could not install package 'Microsoft.Owin.Security 2.0.2'. 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. At line:1 char:1 + Install-Package Owin.Security.Providers + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException ``` I was try to search in google, but found information only about SignalR. Can anybody help me?