IdentityStoreManager could not be found after upgrading Microsoft.AspNet.Identity to rc1


After Upgrading Microsoft.AspNet.Identity.Core to 1.0.0-rc1 several errors appear in the AccountController.cs And AppModel.cs classes which are generated by the default MVC5 templates in Visual Studio 2013.

Are there any release notes to explain how to resolve the breaking changes?

Accepted Answer

Update the following nuget packages:

  • Microsoft ASP.NET Identity EntityFramework version="1.0.0-rc1"
  • Microsoft.Owin.Security version="2.0.0-rc1"
  • Microsoft.Owin.Security.OAuth version="2.0.0-rc1"

Get these:

  • Microsoft.AspNet.Identity.Owin version="1.0.0-rc1"
  • Microsoft.Owin.Host.SystemWeb version="2.0.0-rc1"

Then you will still have a lot of errors in your AccountController.cs file. But now you have the classes in your project to fix them, or you could get my AccountController.cs file which is fixed, well it compiles and the application runs, but there is a spot (commented with todo:) that I am not sure about yet.

You can download my AccountController.cs file from my sample project on github here:

Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why