Microsoft.SqlServer.DacFx 160.5323.3-preview The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved

.NET Standard 2.1 .NET Framework 4.6.2
This is a prerelease version of Microsoft.SqlServer.DacFx.
There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.SqlServer.DacFx -Version 160.5323.3-preview
dotnet add package Microsoft.SqlServer.DacFx --version 160.5323.3-preview
<PackageReference Include="Microsoft.SqlServer.DacFx" Version="160.5323.3-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.SqlServer.DacFx --version 160.5323.3-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.SqlServer.DacFx, 160.5323.3-preview"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.SqlServer.DacFx as a Cake Addin
#addin nuget:?package=Microsoft.SqlServer.DacFx&version=160.5323.3-preview&prerelease

// Install Microsoft.SqlServer.DacFx as a Cake Tool
#tool nuget:?package=Microsoft.SqlServer.DacFx&version=160.5323.3-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

The Microsoft SQL Server Data-Tier Application Framework (DacFx) is a component which provides application lifecycle services for database development and management for Microsoft SQL Server and Microsoft Azure SQL Databases.
     DacFx supports various database deployment and management scenarios for SQL Server and Microsoft Azure SQL Databases including extracting / exporting a live database to a DAC package, deploying a DAC package to a new or existing database,
     and migrating from on-premise to Microsoft Azure.
     This functionality is exposed via the DacFx API. DacFx can target SQL Server 2008 and newer, as well as Microsoft Azure SQL.
     This nuget package is a lightweight version of DacFx. If you would like to use the command-line utility SqlPackage.exe for creating and deploying .dacpac and .bacpac packages, please download SqlPackage.exe for Windows, macOS, or Linux from

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
.NET Framework net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (26)

Showing the top 5 NuGet packages that depend on Microsoft.SqlServer.DacFx:

Package Downloads
Microsoft.Data.Tools.Msbuild The ID prefix of this package has been reserved for one of the owners of this package by

This NuGet package contains all the required components to build and publish sqlproj project. This package allows to users to create local build agent without installing visual studio and enables continuous integration and continuous deployment scenarios. SSDT transforms database development by introducing a ubiquitous, declarative model that spans all the phases of database development inside Visual Studio. You can use SSDT Transact-SQL design capabilities to build, debug, maintain, and refactor databases. You can work with a database project, or directly with a connected database instance on or off-premise. SSDT team's blog - SQL Server Data Tools page -


Cake Build addon for executing some operations in MS Sql Server.

Kentico.Xperience.Libraries The ID prefix of this package has been reserved for one of the owners of this package by

The runtime assemblies for libraries and applications that use Kentico Xperience API.


Package Description


Smart mock data library SQL Server extensions

GitHub repositories (6)

Showing the top 5 popular GitHub repositories that depend on Microsoft.SqlServer.DacFx:

Repository Stars
Entity Framework Core Power Tools - reverse engineering, migrations and model visualization for EF Core
A service that implements the FHIR standard
SQL Tools API service that provides SQL Server data management capabilities.
An MSBuild SDK that provides similar functionality to SQL Server Data Tools (.sqlproj) projects
OSS Implementation of DICOMweb standard
Version Downloads Last updated
160.6153.0-preview 66 5/13/2022
160.6143.0-preview 288 5/6/2022
160.6107.0-preview 416 4/13/2022
160.6105.0-preview 99 4/12/2022
160.6093.0-preview 152 4/8/2022
160.6057.0-preview 485 3/9/2022
160.5421.1-preview 576 2/8/2022
160.5415.1-preview 138 2/2/2022
160.5400.1 87,145 1/26/2022
160.5400.1-preview 2,243 1/18/2022
160.5371.2-preview 4,613 12/21/2021
160.5339.7-preview 11,082 11/19/2021
160.5332.1-preview 8,069 11/11/2021
160.5323.3-preview 29,669 11/4/2021
160.5196.4-preview 7,557 7/14/2021
150.5388.1-preview 94 1/6/2022
150.5332.2-preview 185 11/12/2021
150.5290.2-preview 422 10/11/2021
150.5282.3 152,612 10/4/2021
150.5164.1 170,779 6/2/2021
150.5141.1-preview 1,196 5/5/2021
150.5132.1-preview 956 4/26/2021
150.5084.2 162,608 3/10/2021
150.5080.2-preview 373 3/5/2021
150.5078.1-preview 247 3/3/2021
150.4982.1-preview 4,279 11/30/2020
150.4946.1-preview 2,221 10/21/2020
150.4926.2-preview 2,657 10/1/2020
150.4904.1-preview 2,549 9/10/2020
150.4897.1 211,907 9/18/2020
150.4870.3-preview 1,766 8/10/2020
150.4861.1-preview 676 7/29/2020
150.4826.1 161,428 6/24/2020
150.4822.1-preview 660 6/22/2020
150.4787.1-preview 977 5/28/2020
150.4779.1-preview 535 5/8/2020
150.4769.1 141,716 4/28/2020
150.4763.1-preview 456 4/27/2020
150.4745.1-preview 573 4/7/2020
150.4714.1-preview 4,824 3/4/2020
150.4630.1-preview 6,550 12/17/2019
150.4576.1-preview 4,287 10/17/2019
150.4573.2 436,499 10/28/2019
150.4534.2-preview 25,926 9/5/2019
150.4532.1-preview 1,155 9/3/2019
150.4519.1-preview 1,418 8/21/2019
150.4505.1-preview 14,323 8/7/2019
150.4451.1-preview 15,829 6/14/2019
150.4441.1-preview 8,306 6/4/2019
150.4384.2-preview 27,263 4/16/2019
150.4316.1-preview 18,446 2/5/2019
150.4240.1-preview 37,752 11/15/2018

SQL Ledger DacFx changes to be able to:
* Import and export a database with ledger tables from SQL Server to SQL Server in Azure.
* Extract and publish a database schema with ledger tables from SQL Server to SQL Server in Azure.
The following objects are skipped when exporting a database with ledger tables:
* Ledger history tables.
* Dropped ledger tables.
The following ledger table dependencies are skipped when exporting a database with ledger tables:
* Statistics
* Rules
* Constraints (Primary key, check, default, unique)
* Indexes (Index, column store index, spatial index)
* Triggers
Adds support for column-level symmetric encryption for SqlDw with reverse engineering and model comparison
Adds support for .NET 6 as the target framework
Adds support for OPENROWSET options in Synapse SQL Serverless
Adds support for SQL Server 2022
Updates target version to .NET 4.6.2
References Microsoft.Data.SqlClient instead of System.Data.SqlClient
Changes in Sql160 parser

Fixes issue with interpretation of table distribution on column within a stored procedure.
Fixes issue where incremental statistics caused an issue with the project build when applied to a primary key.
Fixes issue with "Drop objects not in source" option during publish operation.
Fix for Refactor log of referenced dacpac according to includeCompositeObjects selection.
Fix for building sqlproj with .NET 6 SDK