-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Create object of type 'AppDbContext' #1
Comments
I have the same issue. Does anyone have a fix yet? Here is the fix I used. Just add this class to the project and then use the Package Manager Console "update-database" using BethanysPieShop.Models; namespace BethanysPieShop |
Unable to create an object of type 'AppDbContext'. Gill, Any update for this error in Package Manager Console ? |
Thanks for the solution. Its working perfectly. |
Hi Gill - after pointing to my local db - I get the following message when running update-database in the package maanager:
Unable to create an object of type 'AppDbContext'. Add an implementation of 'IDesignTimeDbContextFactory' to the project,
The text was updated successfully, but these errors were encountered: