Skip to main content
net8.0

The Microsoft DacFx SQL Projects Library provides an interface for programmatically creating and editing .sqlproj files and their contents. It can be used to add, update, exclude, and delete items contained in a SQL Project, such as SQL object scripts, pre- and post-deployment scripts, publish profiles, SQLCMD variables, and database references, as well as to edit the property metadata of the project itself.

Published
May 6, 2026
5mo ago
Total Downloads
15.6K
15,639

Install

dotnet add package Microsoft.SqlServer.DacFx.Projects --version 0.6.3-preview
ProductVersions
.NET
net8.0

README

Microsoft DacFx SQL Projects Library Nuget Package

Microsoft.SqlServer.DacFx.Projects provides an interface for programmatically creating and editing .sqlproj files and their contents. It can be used to add, update, exclude, and delete items contained in a SQL Project, such as SQL object scripts, pre- and post-deployment scripts, publish profiles, SQLCMD variables, and database references, as well as to edit the property metadata of the project itself.

More information is available at https://github.com/microsoft/DacFx.

Dependencies

Microsoft.SqlServer.DacFx.Projects depends on the Microsoft.SqlServer.DacFx, Microsoft.Build, and Microsoft.Extensions.FileSystemGlobbing nuget packages.

Related packages

Package Description
Microsoft.SqlServer.DacFx Microsoft.Sql.DacFx provides application lifecycle services for database development and management for Microsoft SQL Server and Microsoft Azure SQL Databases.
Microsoft.SqlServer.Dacpacs.Master Microsoft.SqlServer.Dacpacs.Master is a set of NuGet packages containing .dacpac files for Microsoft SQL Server master databases with versions across SQL Server 2008 (100) through SQL Server 2025 (170).
Microsoft.SqlServer.Dacpacs.Msdb Microsoft.SqlServer.Dacpacs.Msdb is a set of NuGet packages containing .dacpac files for Microsoft SQL Server msdb databases with versions across SQL Server 2008 (100) through SQL Server 2025 (170).
Microsoft.SqlServer.Dacpacs.Azure.Master Microsoft.SqlServer.Dacpacs.Azure.Master is a NuGet package containing a .dacpac file for the Azure SQL Database master database.
Microsoft.SqlServer.Dacpacs.Synapse.Master Microsoft.SqlServer.Dacpacs.Synapse.Master is a NuGet package containing a .dacpac file for the Azure Synapse Analytics dedicated SQL pools master database.
Microsoft.SqlServer.Dacpacs.SynapseServerless.Master Microsoft.SqlServer.Dacpacs.SynapseServerless.Master is a NuGet package containing a .dacpac file for the Azure Synapse Analytics serverless SQL pools master database.
Microsoft.SqlServer.Dacpacs.FabricDw Microsoft.SqlServer.Dacpacs.FabricDw is a NuGet package containing a .dacpac file for the Microsoft Fabric Data Warehouse master database.
Microsoft.SqlServer.Dacpacs.SqlDbFabric Microsoft.SqlServer.Dacpacs.SqlDbFabric is a NuGet package containing a .dacpac file for the SQL database in Microsoft Fabric master database.

Support

Open issues at the DacFx GitHub page.

Changes from Previous Version

No structural changes between v0.5.22-preview and v0.6.3-preview.

Adoption Assessment

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 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.