Marius Vasile

Marius Vasile

  • 592
  • 1.9k
  • 145.3k

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)