C
C#15mo ago
Metalkon

❔ Entity Framework Migration Issues

Anyone have an idea on why my Blazor WebAsm + Web API (All .NET 6) always gives me this error when I try to migrate to the sql server database? The only time that it lets me migrate without this error is after deleting the project (after commit and push) and cloning it back onto my hdd. And then after doing some regular coding without even touching anything important i'll start getting the error again if i start doing more migrations. Had this issue early in my project when i started it a few months back and never found a solution.
2 Replies
OneDeveloper
OneDeveloper15mo ago
Set the api as start up project And then try migration command and also select project in the default project dropdown
Accord
Accord15mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server