microsoft / microsoft/DacFx

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

Open
#694 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
460
Forks
29
Avg merge
4d 9h
Merged PRs (30d)
7

Description

- 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](https://github.com/user-attachments/files/22243102/DeploymentContributorProblem.zip)

Contributor guide

Open the contributing guide

Research direction

Start by extracting DeploymentContributorProblem.zip and reviewing ReproduceTheProblem/ReproduceTheProblem.ps1. Run the script from PowerShell 7 against the stated Windows and SQL Server 2019 setup, then rebuild the included projects if needed. Done means reproducing and correcting the /Action:Script failure when the target is a dacpac and AdditionalDeploymentContributors is specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell, sql
Domain
cli, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.