MSBuild.Sdk.SqlProj: master dacpac reference fails while deploys
master dacpac reference works during builds but fails during deploys - similar issue related to https://github.com/rr-wfm/MSBuild.Sdk.SqlProj/issues/51 but the DatabaseVariableLiteralValue doesn’t help with sqlpackage deploy for some reason.
The major difference I see is the old way the master.dacpac is attached as separate dacpac in the zip for deploy where as with new SDK style it is embedded into one.
Adding both dacpacs for reference
CustomerScoringDatabase.zip is the zip we use for deploy from old way
CustomerScoringDatabaseNewSDK.zip
New SDK is created with MSBuild.Sdk.SqlProj
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18
I am lookin at the TestSdk branch now, and there are multiple issue:
OK, I will have a look
Your master .dacpac reference looks fine - again, with a repro project, I can actually confirm