I think the only way to run web.config transforms locally is to use MSBuild with the following parameters, where [YourTransformationConfiguration] is the name of the configuration you are using, for example. Debug or release:
msbuild PathToProject /T:Package /P:Configuration=[YourTransformationConfiguration] /P:AutoParameterizationWebConfigConnectionStrings=False
:
[ProjectFolder]\obj\[YourTransformationConfiguration]\Package\PackageTmp
migrate.exe , Update-Database PowerShell script. Nuget, tools EntityFramework. , " " :
Migrate.exe