Patrick Lorio
Patrick Lorio

Reputation: 5668

TeamCity MSbuild C++ only build some solutions

In our C++ project we have several solutions, is there a way to only build select solutions in TeamCity. Or is there parameters for msbuild that can accomplish this?

We are using .Net v4.0

Thanks in advance.

Upvotes: 0

Views: 468

Answers (2)

Stanislav Rataj
Stanislav Rataj

Reputation: 41

Another possibility is to call MSBuild just on your vcxproj files, not the whole sln files. We use it very often - we have build batch files compiling just vcxproj files. With sln files we work only in VS IDE.

Upvotes: 1

Philipp
Philipp

Reputation: 11833

I guess you have several projects in your solution?

You can create a build configuration (something like Debug/Release) for the whole solution und choose which projects should be built in this. You can pass this configuration's name to Teamcity.

Upvotes: 0

Related Questions