Exclude projects from assembly in TeamCity

At work, we added SQL database projects to our VS 2010 project as a way to control changes in stored procedures and schema changes. Unfortunately, now it is being split into our TeamCity CI server.

Is there a way to tell TeamCity not to build these projects or will I have to admit defeat and install Visual Studio 2010 on the TeamCity CI server?

+6
source share
1 answer

Option 1

Make a copy of the current .sln and delete the SQL db projects; then point TeamCity on this sln.

Option 2

Create a new build configuration (you have Debug, Release and you can add DebugCI as an example) and mark the projects that you want to compile in this configuration. Then in the build step, enter DebugCI in the Configuration field: (this is debugging in this screenshot, but you get the idea)

enter image description here

+13
source

All Articles