UnpackDacPac 2026.10.15.463

dotnet tool install --global UnpackDacPac --version 2026.10.15.463
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local UnpackDacPac --version 2026.10.15.463
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=UnpackDacPac&version=2026.10.15.463
                    
nuke :add-package UnpackDacPac --version 2026.10.15.463
                    

Unpack DAC Package .NET Tool

NuGet

Extracts dacpac and generates deployment script to target folder without need for actual database running.

Install

dotnet tool install --global UnpackDacPac

Usage

unpackdacpac unpack <dacPacPath> <outputPath> [OPTIONS]

Example

unpackdacpac unpack Source.dacpac TargetPath  --deploy-script-exclude-object-type Users --deploy-script-exclude-object-type Logins --deploy-script-exclude-object-type RoleMembership

Will in TargetPath result in a files

  • DacMetadata.xml
  • Deploy.sql - generated deployment script
  • model.sql - formated sql
  • model.xml
  • Origin.xml
  • postdeploy.sql if exists

unpack Options

-h, --help                                                      Prints help information
    --clean-output-path                                         Flag for if output path should be cleaned before
                                                                extraction
    --target-database                                           Target database name used for deploy script, if not
                                                                specified DAC Package name without extension is used
    --deploy-create-new-database                                Flag that specifies whether the existing database will be
                                                                dropped and a new database created before proceeding with
                                                                the actual deployment actions. Acquires single-user mode
                                                                before dropping the existing database (default false)
    --deploy-script-database-options                            Deployment script flag that specifies whether the
                                                                database options in the target database should be updated
                                                                to match the source model (default false)
    --deploy-script-ignore-permissions                          Deployment script flag that specifies whether to exclude
                                                                all permission statements from consideration when
                                                                comparing the source and target model (default false)
    --deploy-script-exclude-object-type <EXCLUDEDOBJECTTYPE>    Deployment script setting to exclude object types
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
2026.10.15.463 1,115 10/15/2026
2026.10.10.443 817 10/10/2026
2026.9.9.419 4,626 9/9/2026
2026.7.15.390 8,269 7/15/2026
2026.6.10.372 4,754 6/10/2026
2026.5.18.351 3,479 5/18/2026
2026.2.11.292 12,115 2/11/2026
2026.1.14.285 3,569 1/14/2026
2025.11.25.259 7,527 11/25/2025
2025.11.24.254 39,089 11/24/2025
2025.11.24.253 301 11/24/2025
2025.11.23.248 370 11/23/2025
2025.9.10.193 11,115 9/10/2025
2025.8.6.168 5,391 8/6/2025
2025.7.9.148 3,317 7/9/2025
2025.7.9.145 337 7/9/2025
2025.6.11.130 4,456 6/11/2025
2025.6.11.127 450 6/11/2025
2025.6.11.124 444 6/11/2025
2025.5.14.106 4,458 5/14/2025
Loading failed