Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 775
Tim Avatar asked Aug 24 '13 11:08

Tim


1 Answers

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: https://github.com/onybo/Asp.Net-Identity-RC1-sample-app

like image 173
Olav Nybø Avatar answered Jan 03 '23 17:01

Olav Nybø