microsoft / DacFx

DacFx, SqlPackage, and other SQL development libraries enable declarative database development and database portability across SQL versions and environments. Share feedback here on dacpacs, bacpacs, and SQL projects.
https://aka.ms/sqlpackage-ref
MIT License
356 stars 20 forks source link

Add target to remove included files via :r from build #497

Closed zijchen closed 3 days ago

zijchen commented 2 months ago

Fixes #103

New version of SqlTasks.targets will put all the included files via :r in pre/post-deployment scripts in a new @(__SqlScriptDependentFiles) item. We can then use this item in the sdk.targets to exclude them from build.