DacFx icon indicating copy to clipboard operation
DacFx copied to clipboard

sqlpackage /Action:Script fails when target is a dacpac and AdditionalDeploymentContributors is specified

Open marvhen opened this issue 3 months ago • 0 comments

  • SqlPackage or DacFx Version: 170.1.61
  • .NET Framework (Windows-only) or .NET Core: .NET8.0
  • Environment (local platform and source/target platforms): Windows and SQL Server 2019

Steps to Reproduce:

  1. Extract files from the attached archive.
  2. Review the commands in .\ReproduceTheProblem\ReproduceTheProblem.ps1
  3. Run .\ReproduceTheProblem\ReproduceTheProblem.ps1 from a powershell 7 session
  4. Review and/or Rebuild the projects if needed

Did this occur in prior versions? If not - which version(s) did it work in? Not sure.

(DacFx/SqlPackage/SSMS/Azure Data Studio)

DeploymentContributorProblem.zip

marvhen avatar Sep 09 '25 20:09 marvhen