Skip to content

Conversation

@potatoqualitee
Copy link
Member

This PR restores the functionality of the DacFxPath parameter which was removed in the 2.0 release. The parameter allows users to specify a custom path to Microsoft.SqlServer.Dac.dll for scenarios requiring specific DacFx versions.

Changes:

  • Added DacFxPath handling code at the end of the begin block
  • Loads the DacFx library from the specified path when DacFxPath is provided
  • Provides clear error messages if the DacFx library cannot be loaded
  • Includes verbose logging when the library is successfully loaded

Fixes #9392

Generated with Claude Code

github-actions bot and others added 2 commits October 31, 2025 12:46
This commit restores the functionality of the DacFxPath parameter which was removed in the 2.0 release. The parameter allows users to specify a custom path to Microsoft.SqlServer.Dac.dll for scenarios requiring specific DacFx versions.

The code now:
- Loads the DacFx library from the specified path when DacFxPath is provided
- Provides clear error messages if the DacFx library cannot be loaded
- Includes verbose logging when the library is successfully loaded

Fixes #9392

Co-authored-by: Chrissy LeMaire <[email protected]>
@potatoqualitee
Copy link
Member Author

LGTM

@potatoqualitee potatoqualitee merged commit 0f7d86b into development Nov 1, 2025
14 checks passed
@potatoqualitee potatoqualitee deleted the claude/issue-9392-20251031-1245 branch November 1, 2025 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish-DbaDacPackage appears to ignore DacFxPath option

1 participant