Improvements to MSDeployAllTheThings.SqlDeploy

In an effort to make using the MSDeployAllTheThings Nuget packages as easy to use as possible, I have updated the SQLDeploy framework to default to using DacPacs and provide parameterization files.  These are the two most useful features of the framework in my opinion and were not highlighted appropriately.

Now packaging your SQL Server database for deployment is even easier with 4 simple steps:

  1. Create a project for deployment
  2. Add the MSDeployAllTheThings.SqlDeploy Nuget package (version 2.3 or higher)
  3. Update the [ProjectName].spp.targets file with your Database Project name
  4. Build the project with the /p:DeployOnBuild=true flag

Obviously, this assume you are already using Database Projects in Visual Studio.  If you aren’t using these to define your database schema you should be.

You can find more details on the MSDeployAllTheThings.Nuget wiki page:

The updated Nuget package can be found at:

These frameworks were first created in 2010 so they do have some cruft that needs to be cleaned up.  Please try this out and let me know how it works for you.  I plan to work on AppDeploy and WebDeployPlus as well in the coming weeks. 

Leave a Reply