Is it possible to deploy a VS 2010 database project using TeamCity?
I am building my whole solution, and deploying a website to my server, this all works fine.
The final step I want to trigger is the deploy of the database project which generates a sql script and deploys it.
I have the “Create a deployment script (.sql) and deploy to the database” option selected as a deploy action, my Configuration target is set to build and deploy the database project, but I just can’t figure how to get TeamCity and MSBuild to trigger it.
Since my question got upvoted today, I’m revisiting with the answer I found.
I did the following:
Edit 16/11/12: Another upvote, so revisiting again. Since I posted this, things became a bit clearer. I was originally running TeamCity on my dev PC.
When I came to move it onto a server, the only way I could get the database deploy to work was to install Visual Studio on the server which is a pain.