.Net core Owin namespace does not exist



If you run into this, issue after installing nuget packages like

install-package Microsoft.Owin.Security.Jwt
install-package "Microsoft.Owin.SelfHost"

please check if you're looking at version "3.0.1". If it is, then Core5 is not compatible with these libraries.

Solution : Stick with dnx451.

Just remove the dnx5 in your project.json and it should just look like the following :-

"frameworks": {
    "dnx451": {
      "frameworkAssemblies": {
        "System.IdentityModel": "4.0.0.0"

      }
    }
  }

That's it! :)

Comments

Popular posts from this blog

ionic2 cordova build android - Unable resolve gradle 2.2.3

OpenCover code coverage for .Net Core

Using Custom DLL with IronPython / Scripts