简体   繁体   中英

How can I automatically kick-off deployment of a VS database project after the deployment of another database project

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 : )

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM