You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PM> dotnet ef migrations add CreatingPizzaDb
Build started...
Build succeeded.
Your startup project 'PizzaPlace.Server' doesn't reference Microsoft.EntityFrameworkCore.Design. This package is required for the Entity Framework Core Tools to work. Ensure your startup project is correct, install the package, and try again.
Solution
In order to resolve this, I did the following:
Solution Explorer -> Right-click PizzaPlace.Server -> Edit Project File -> Comment out the following line:
<PrivateAssets>all</PrivateAssets>
Notes
This approach is from the following stackoverflow answer:
Issue
Page 171 shows the following:
When doing so, the following was the result:
Solution
In order to resolve this, I did the following:
Solution Explorer -> Right-click PizzaPlace.Server -> Edit Project File -> Comment out the following line:
Notes
This approach is from the following stackoverflow answer:
https://stackoverflow.com/a/62663918/268581
The text was updated successfully, but these errors were encountered: