Marius Vasile

Marius Vasile

  • 604
  • 1.7k
  • 123.9k

asp.net core publishing site trigger no migration

Nov 8 2021 9:57 AM

This is happening recently, I use not to have issues with migration before. When I publish the site to be uploaded to IIS, there is no migration script despite the fact that at least one migration was applied during development.

I use Visual Studio Community 2019 for an asp.net core razor pages web app with Microsoft SQL

Executing command: dotnet ef migrations script --no-build --idempotent --configuration Release --output

Why is this happening and how do I fix it. Thank you


Answers (3)