Microsoft.SqlServer.DacFx.x64 130.3485.1

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 SQL Server to Microsoft Azure. This functionality is exposed via the DACFx managed API. DACFx can target SQL Server 2008, 2008R2, 2012, 2014, 2016 and Microsoft Azure SQL Databases.
     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  DacFramework.msi from Microsoft download page.

There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.SqlServer.DacFx.x64 -Version 130.3485.1
dotnet add package Microsoft.SqlServer.DacFx.x64 --version 130.3485.1
<PackageReference Include="Microsoft.SqlServer.DacFx.x64" Version="130.3485.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.SqlServer.DacFx.x64 --version 130.3485.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

DacFx release 16.5 (released Oct 26, 2016).

SqlPackage and DacFx API Improvements

Using SqlPackage.exe and the DacFx APIs you can now generate a deployment report, deployment script, and publish to a database all in one action. This is a timesaver for anyone who likes to keep a report of what was published during a deployment. Another benefit is that for Azure scenarios, separate scripts for the master database and the deploy target database are created. Up to now a single script was created which was not useful for repeated deployments.

For SqlPackage’s Publish and Script actions, two new arguments have been added.

DeployScriptPath (shortname: dsp). This is an optional path to write the deployment script to. For Azure deployment, if there were TSQL commands to create of modify the DB a master script will be written to the same path but with “Filename_Master.sql” as the output file name.
DeployReportPath (shortname: drp). This is an optional path to write the deployment report to.
Note that for the Script action, either the existing Output Path arguments or the new script/report-specific arguments should be used, but not both.

Sample usage:

Publish Action Sqlpackage.exe /a:Publish /tsn:(localdb)\ProjectsV13 /tdn:MyDatabase /deployscriptpath:”My\DeployScript.sql” /deployreportpath:”My\DeployReport.xml”

Script Action Sqlpackage.exe /a:Script /tsn:(localdb)\ProjectsV13 /tdn:MyDatabase /deployscriptpath:”My\DeployScript.sql” /deployreportpath:”My\DeployReport.xml”

In DacFx, two new APIs have been added: DacServices.Publish() and DacServices.Script(). These also support performing publish + script + report actions in a single operation.


This package has no dependencies.

NuGet packages (13)

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

Package Downloads
Data access layer for SQL server
Database First Migration Tool
QPick server component for Apollo 13

GitHub repositories (1)

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

Repository Stars
DACExtensions contains samples that extend Data-Tier Applications using DacFx. These samples include deployment contributors and static code analysis rules that can be used with Visual Studio as well as examples of how to use the DacFx public mode

Version History

Version Downloads Last updated
150.4897.1 8,001 9/18/2020
150.4826.1 13,847 6/24/2020
150.4769.1 10,207 5/12/2020
150.4573.2 92,168 10/28/2019
150.4538.1 22,597 9/14/2019
150.4532.1 27,060 9/5/2019
150.4384.2 165,300 4/16/2019
150.4316.1 62,545 2/5/2019
150.4200.1 65,458 10/25/2018
140.3881.1 327,978 1/3/2018
140.3745.1 171,959 7/10/2017
140.3727.2 7,222 6/30/2017
140.3652.3 33,422 4/19/2017
130.3485.1 102,309 10/26/2016
130.3450.1 5,603 9/21/2016
130.3411.1 16,945 8/15/2016
130.3370.2 13,585 6/30/2016
130.3352.1 2,512 6/13/2016
Show less