Microsoft.SqlServer.DacFx 170.0.27-preview

Prefix Reserved
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.
dotnet add package Microsoft.SqlServer.DacFx --version 170.0.27-preview
                    
NuGet\Install-Package Microsoft.SqlServer.DacFx -Version 170.0.27-preview
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.SqlServer.DacFx" Version="170.0.27-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.SqlServer.DacFx" Version="170.0.27-preview" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.SqlServer.DacFx" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.SqlServer.DacFx --version 170.0.27-preview
                    
#r "nuget: Microsoft.SqlServer.DacFx, 170.0.27-preview"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.SqlServer.DacFx@170.0.27-preview
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.SqlServer.DacFx&version=170.0.27-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.SqlServer.DacFx&version=170.0.27-preview&prerelease
                    
Install as a Cake Tool

Microsoft SQL Server Data-Tier Application Framework (DacFx) Nuget Package

Overview

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-premises 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 http://aka.ms/sqlpackage.

Dependencies

The package Microsoft.SqlServer.DacFx depends on the new ADO.Net Sql client driver in the Microsoft.Data.SqlClient nuget package.

Support

Open issues at DacFx github

Important Notice: Breaking Changes Due to Public Key Update

We would like to inform you about an important change in DacFx NuGet that may impact your applications. We have updated the public key in the DLLs included in this package. This change is crucial for enhancing the security and integrity of our assembly but may cause breaking changes in your C# applications.

Impact of Public Key Change

  • Build Failures: Applications referencing the old DLL with the previous public key will fail to build.
  • Runtime Errors: Applications may experience runtime errors if the old DLL is loaded dynamically or through reflection.
  • Configuration Updates: Any configuration files or settings that reference the old public key will need to be updated to the new key.

Steps to Address the Change

To mitigate the impact of this change, we recommend the following steps:

  • Update Package References: Ensure that you update your NuGet package reference to the latest version that includes the DLL with the new public key.
  • Rebuild Your Application: Rebuild your application to ensure it correctly references the new DLL.
  • Thorough Testing: Conduct comprehensive testing to identify and resolve any issues resulting from the public key change.
  • Update Documentation: Ensure that all relevant documentation and configuration files are updated to reflect the new public key.

Support and Assistance

We are committed to providing you with the necessary support during this transition. If you encounter any issues or need further assistance, please do not hesitate to contact our team at DacFx github

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 was computed.  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 was computed.  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. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (43)

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

Package Downloads
Kentico.Xperience.Libraries

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

Microsoft.Data.Tools.Msbuild

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 - https://blogs.msdn.microsoft.com/ssdt/ SQL Server Data Tools page - https://docs.microsoft.com/sql/ssdt/sql-server-data-tools

Apollo13.DataAccessLayer

Data access layer for SQL server

Cake.SqlServer

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

Dynamicweb.Application.UI

Package Description

GitHub repositories (7)

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

Repository Stars
ErikEJ/EFCorePowerTools
Entity Framework Core Power Tools - reverse engineering, migrations and model visualization in Visual Studio & CLI
CommunityToolkit/Aspire
A community project with additional components and extensions for Aspire
microsoft/sqltoolsservice
SQL Tools API service that provides SQL Server data management capabilities.
rr-wfm/MSBuild.Sdk.SqlProj
An MSBuild SDK that provides similar functionality to SQL Server Data Tools (.sqlproj) projects
trimble-oss/dba-dash
DBA Dash - SQL Server Monitoring Tool
tsqllint/tsqllint
Configurable linting for TSQL
iQuarc/Geco
Simple code generator based on a console project, running on .Net core and using C# interpolated strings
Version Downloads Last Updated
170.3.37-preview 429 11/14/2025
170.3.26-preview 186 10/31/2025
170.2.70 107,998 10/14/2025
170.2.68-preview 234 10/4/2025
170.2.55-preview 238 9/26/2025
170.2.41-preview 404 9/4/2025
170.2.37-preview 300 8/29/2025
170.2.32-preview 175 8/22/2025
170.2.25-preview 397 8/18/2025
170.2.15-preview 287 8/8/2025
170.1.61 210,214 7/30/2025
170.1.56-preview 172 7/18/2025
170.1.47-preview 819 6/27/2025
170.1.43-preview 335 6/20/2025
170.1.31-preview 383 6/6/2025
170.1.23-preview 377 5/30/2025
170.1.11-preview 396 4/25/2025
170.0.94 384,935 4/15/2025
170.0.86-preview 693 4/4/2025
170.0.82-preview 806 3/31/2025
170.0.76-preview 789 3/14/2025
170.0.70-preview 1,945 3/7/2025
170.0.64-preview 664 2/28/2025
170.0.57-preview 8,825 2/14/2025
170.0.48-preview 2,311 1/31/2025
170.0.33-preview 1,799 1/17/2025
170.0.27-preview 1,457 1/10/2025
170.0.7-preview 721 12/13/2024
162.5.57 1,028,619 11/21/2024
162.5.53-preview 494 11/16/2024
162.5.46-preview 2,602 11/12/2024
162.5.37-preview 442 11/1/2024
162.5.31-preview 494 10/25/2024
162.5.20-preview 556 10/11/2024
162.5.13-preview 388 10/4/2024
162.4.92 557,784 9/18/2024
162.4.87-preview 529 9/9/2024
162.4.80-preview 423 8/30/2024
162.4.71-preview 961 8/17/2024
162.4.56-preview 2,428 7/26/2024
162.4.51-preview 431 7/19/2024
162.4.44-preview 375 7/12/2024
162.4.28-preview 606 6/28/2024
162.4.20-preview 400 6/21/2024
162.3.566 709,639 6/24/2024
162.3.563 146,222 6/6/2024
162.3.562-preview 551 5/30/2024
162.3.557-preview 520 5/17/2024
162.3.550-preview 406 5/10/2024
162.3.540-preview 4,695 4/26/2024
162.3.530-preview 1,523 4/19/2024
162.3.520-preview 829 3/29/2024
162.3.515-preview 580 3/22/2024
162.3.503-preview 674 3/8/2024
162.2.111 1,264,606 2/27/2024
162.2.103-preview 2,094 2/23/2024
162.2.91-preview 936 2/16/2024
162.2.82-preview 913 2/9/2024
162.2.69-preview 921 1/26/2024
162.2.56-preview 973 1/12/2024
162.2.51-preview 931 1/9/2024
162.2.37-preview 1,225 12/15/2023
162.2.33-preview 1,082 12/8/2023
162.2.27-preview 4,856 11/10/2023
162.1.172 554,307 1/9/2024
162.1.167 426,522 10/19/2023
162.1.162-preview 1,458 10/9/2023
162.1.159-preview 1,991 9/29/2023
162.1.153-preview 1,585 9/25/2023
162.1.142-preview 6,687 9/8/2023
162.1.124-preview 1,915 8/24/2023
162.1.118-preview 4,804 8/18/2023
162.1.112-preview 1,666 8/12/2023
162.1.105-preview 1,698 8/4/2023
162.1.88-preview 1,748 7/21/2023
162.1.80-preview 2,309 7/14/2023
162.1.69-preview 1,702 7/1/2023
162.1.59-preview 1,904 6/23/2023
162.1.54-preview 1,464 6/16/2023
162.1.39-preview 1,744 6/2/2023
162.1.32-preview 1,567 5/26/2023
162.1.23-preview 1,618 5/22/2023
162.0.52 704,833 5/11/2023
162.0.34-preview 2,891 4/21/2023
162.0.15-preview 2,147 4/7/2023
162.0.6-preview 2,996 4/3/2023
161.8444.0-preview 2,823 3/24/2023
161.8437.0-preview 2,918 3/20/2023
161.8430.0-preview 2,414 3/13/2023
161.8422.0-preview 1,737 3/7/2023
161.8406.0-preview 2,859 2/17/2023
161.8401.0-preview 2,852 2/11/2023
161.8089.0 438,337 2/13/2023
161.8085.0-preview 2,109 2/3/2023
161.8071.0-preview 1,825 1/23/2023
161.8055.0-preview 3,812 1/6/2023
161.8032.0-preview 2,003 12/19/2022
161.6374.0 628,975 11/9/2022
161.6373.0-preview 2,276 11/8/2022
161.6367.0-preview 2,453 11/2/2022
161.6343.0-preview 2,070 10/28/2022
161.6337.0-preview 1,997 10/24/2022
161.6333.0-preview 1,738 10/22/2022
161.6319.0-preview 51,497 10/10/2022
161.6304.0-preview 8,135 9/27/2022
160.6387.0-preview 2,637 1/13/2023
160.6385.0-preview 1,774 1/6/2023
160.6375.0-preview 1,718 11/9/2022
160.6348.0-preview 1,708 10/31/2022
160.6336.0-preview 1,744 10/24/2022
160.6324.0-preview 1,736 10/17/2022
160.6318.0-preview 1,853 10/7/2022
160.6296.0 427,889 9/22/2022
160.6295.0-preview 1,973 9/19/2022
160.6291.0-preview 1,705 9/16/2022
160.6282.0-preview 1,542 9/21/2022
160.6281.0-preview 1,773 9/7/2022
160.6276.0-preview 2,239 9/2/2022
160.6266.0-preview 10,199 8/17/2022
160.6263.0-preview 4,900 8/12/2022
160.6261.0-preview 1,686 8/12/2022
160.6253.0-preview 2,131 8/5/2022
160.6232.0-preview 1,955 7/23/2022
160.6231.0-preview 1,563 7/22/2022
160.6227.0-preview 1,867 7/18/2022
160.6208.0-preview 2,839 6/29/2022
160.6188.0-preview 2,048 6/8/2022
160.6179.0-preview 1,573 6/4/2022
160.6174.0-preview 1,661 6/1/2022
160.6164.0-preview 1,809 5/23/2022
160.6161.0 828,955 5/24/2022
160.6158.0-preview 1,601 5/17/2022
160.6153.0-preview 1,615 5/13/2022
160.6143.0-preview 3,440 5/6/2022
160.6107.0-preview 2,584 4/13/2022
160.6105.0-preview 1,578 4/12/2022
160.6093.0-preview 1,589 4/8/2022
160.6057.0-preview 3,007 3/9/2022
160.5421.1-preview 2,715 2/8/2022
160.5415.1-preview 1,819 2/2/2022
160.5400.1 1,184,577 1/26/2022
160.5400.1-preview 14,027 1/18/2022
160.5371.2-preview 17,997 12/21/2021
160.5339.7-preview 23,171 11/19/2021
160.5332.1-preview 16,561 11/11/2021
160.5323.3-preview 173,604 11/4/2021
160.5196.4-preview 36,206 7/14/2021
150.5388.1-preview 16,577 1/6/2022
150.5332.2-preview 1,559 11/12/2021
150.5290.2-preview 1,802 10/11/2021
150.5282.3 733,683 10/4/2021
150.5164.1 479,965 6/2/2021
150.5141.1-preview 3,119 5/5/2021
150.5132.1-preview 2,325 4/26/2021
150.5084.2 427,010 3/10/2021
150.5080.2-preview 1,729 3/5/2021
150.5078.1-preview 1,720 3/3/2021
150.4982.1-preview 14,681 11/30/2020
150.4946.1-preview 4,263 10/21/2020
150.4926.2-preview 4,378 10/1/2020
150.4904.1-preview 4,112 9/10/2020
150.4897.1 477,609 9/18/2020
150.4870.3-preview 3,275 8/10/2020
150.4861.1-preview 2,034 7/29/2020
150.4826.1 332,444 6/24/2020
150.4822.1-preview 2,151 6/22/2020
150.4787.1-preview 2,365 5/28/2020
150.4779.1-preview 1,971 5/8/2020
150.4769.1 498,060 4/28/2020
150.4763.1-preview 1,825 4/27/2020
150.4745.1-preview 2,012 4/7/2020
150.4714.1-preview 55,780 3/4/2020
150.4630.1-preview 13,770 12/17/2019
150.4576.1-preview 31,097 10/17/2019
150.4573.2 1,820,781 10/28/2019
150.4534.2-preview 39,887 9/5/2019
150.4532.1-preview 2,611 9/3/2019
150.4519.1-preview 2,892 8/21/2019
150.4505.1-preview 21,564 8/7/2019
150.4451.1-preview 23,523 6/14/2019
150.4441.1-preview 11,287 6/4/2019
150.4384.2-preview 32,696 4/16/2019
150.4316.1-preview 28,448 2/5/2019
150.4240.1-preview 49,911 11/15/2018

Updates the public key in the DLLs included in this package. Checkout the package readme for details