I have a solution with various projects (including a wpf project, a console project and a sql project).
I created a publish file for the sql project to deploy the database to a specific server and database to run the unittests on it after the build.
I configured "always re-create database" in the publish profile.
Then I created a build definition and put the msbuild arguments:
/t:Build /t:Publish /p:SQLPublishProfilePath=publish.unittest.xml
The Build now is able to publish the sql project, but it also tries to publish the wpf project and the sql project - which I try to avoid.
Is there any way to avoid publishing those other projects?
Is there a way to publish the database on each build - without changing the default build template?
PS: I'm using VS2013 and TFS2013