Unable to retrieve metadata for ApplicationUser. -

2019-07-21 06:56发布

问题:

i am receiving the following error when I choose to generate MVC5 controller with Views using Entity framework:

Unable to retrieve metadata for ApplicationUser. Multiple object sets per type are not supported. The object sets ApplicationUsers and Users can both contain instances of type ApplicationUser"

searching SO , i found this :same problem but it has a hack not a solution ..

is it a bug in VS13?

and how can I fix it