Why do I get "Cannot resolve symbol 'CreatePerOwinContext'"? Why do I get "Cannot resolve symbol 'CreatePerOwinContext'"? asp.net asp.net

Why do I get "Cannot resolve symbol 'CreatePerOwinContext'"?


CreatePerOwinContext is an extension method in the Microsoft.AspNet.Identity.Owin NuGet package.

To resolve, open package manager console for your project and install with the following command:

Install-Package Microsoft.AspNet.Identity.Owin

Ensure you are referencing the namespace containing the extension method:

using Owin;