Skip to main content
Microsoft.SqlServer.DACFx package icon

Microsoft.SqlServer.DACFx

The Microsoft SQL Server Data-Tier Application Framework (DacFx) is a .NET library which provides application lifecycle services for database development and management for Microsoft SQL databases. DacFx supports various database deployment and management scenarios, including extracting / exporting a live database to a DAC package, deploying a DAC package to a new or existing database, and migrating from on-premises to Microsoft Azure. DacFx can target all supported versions of SQL Server, as well as Microsoft Azure SQL and SQL in Fabric. If you would like to use DacFx functionality from the command-line for creating and deploying .dacpac and .bacpac packages, please use the [SqlPackage](https://www.nuget.org/packages/Microsoft.SqlPackage) CLI as a dotnet tool or downloadable exe. Learn more about SqlPackage from http://aka.ms/sqlpackage.

Total Downloads
21.9M
21,901,479
Published
Jun 30, 2026
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.SqlServer.DACFx --version 170.5.38-preview
Package Manager Console
Install-Package Microsoft.SqlServer.DACFx -Version 170.5.38-preview
PackageReference
<PackageReference Include="Microsoft.SqlServer.DACFx" Version="170.5.38-preview" />

Frameworks

.NETFramework4.7.2 net8.0 net10.0 .NETStandard2.0

Dependencies

Azure.Storage.Blobs
.NETFramework4.7.2
[12.18.0, )
Microsoft.Data.SqlClient
.NETFramework4.7.2
[6.1.5, )
[8.0.0, )
Microsoft.SqlServer.Types
.NETFramework4.7.2
[170.1000.7, )
[2.23.0, )
[180.37.3, )
[12.18.0, )
[15.9.20, )
[15.9.20, )
[170.1000.7, )
[8.0.1, )
[8.0.1, )
[12.18.0, )
[15.9.20, )
[15.9.20, )
[6.1.5, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

The published metadata declares 42 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.