You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per @IT-VBFK 's suggestion, what about running the migration automatically via a flag? <FalloutAutoMigrate> could trigger
a) upgrading the Fallout packages to a newer version
b) run the migrate cli to tackle the migration
This could also be something that goes into an IDE extension similar to the dotnet upgrade tool back in the dotnet framework to dotnet core days
what about running the migration automatically via a flag?
I actually meant a new option which a migration/setup would add.
Like; Do you want to automatically run migrations in future on Fallout updates? (Y/n)
On "Y": add a dedicated MSBuild Property to the users csproj like: <FalloutAutoMigrate>true</FalloutAutoMigrate>
On "n": either add a decaated property with explicit false, or skip this
Then, the mechanism should check the value of this variable and if true the auto-migration runs, if false or null auto-migration is ignored... like an opt-in to such behavior
Activity
IT-VBFK commentedon Aug 6, 2026
I actually meant a new option which a migration/setup would add.
Like;
Do you want to automatically run migrations in future on Fallout updates? (Y/n)On "Y": add a dedicated MSBuild Property to the users csproj like:
<FalloutAutoMigrate>true</FalloutAutoMigrate>On "n": either add a decaated property with explicit false, or skip this
Then, the mechanism should check the value of this variable and if
truethe auto-migration runs, iffalseornullauto-migration is ignored... like an opt-in to such behaviorIT-VBFK commentedon Aug 9, 2026
I searched a few options for this:
Roughly this how I think can work:
.targetsfile with following content (Before CoreCompile is the safer way of After Restore, because of how dotnet restore works):FalloutVersionand install if needed (maybe just local in such a case) inside the conditional blockfallout-migrateordotnet run fallout-migrateinside the conditional block