I have a Visual Studio 2010 solution containing 2 database projects, the primary project is a SQL Server 2005 database project, the secondary project is a 2008 database project. The main 2005 project is deployed when you deploy the solution, however I would like this to also then deploy the 2008 project.

Currently I have to do the second project by hand and as a result sometimes forget to deploy it.

I reckon this must be achievable with a bit of MSBuild but could do with some pointers!!

Sam : )

1

There are 1 best solutions below

1
On

In Visual Studio go to Build > Configuration Manager. There should be a Deploy option to enable/disable deployment of each database project.