❔ PM update-database not working in Package manager console.
The add-migration was successful but update-data-base says server not found
I wrote the correct name on Connection string. I am connected to that specific server name on SQL
3 Replies
as usual, can you connect to the db via workbench/what have you?
Iirc the PM console looks at appsettings.development.json unless specified otherwise
Check your connection string in appsettings.development.json.
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.