Closed x2764tech closed 5 years ago
DotNetCorePublishSettings
has a NoBuild
, and this project should mirror that.
I've released this in the 0.9.0. Thanks for your contribution @x2764tech !
@mvput So, after no-build migration, before updating database, do we have to run add migration sameMigrationName with no-build option again?
@chimepalden if you add a migration with EF Core with the --no-build`` option and then update the database you can add the
--no-build` option again. There is no need for a run add migration again.
@mvput i just ran update database command but build failed.
how do i build after no-build migration?
@chimepalden what are you trying to achieve? And can you share some code and error stack?
@mvput i got this.
@mvput just wanted to create a table in database.
@chimepalden this looks like an build error of the project. Build the project to see what's going on. Btw this repo is an extension for using ef core commands with cake. For using dotnet core cli please go the original repo.
@mvput ok thanks for help
Want to run
dotnet ef migrations script --no-build ....
, but can't find option to do this