Create a set of specific projects in TFS

Does anyone know how I can configure TFS Build to create a set of projects in a solution? The solution I have has 16 projects, but for one of my build definitions, I want some of them to be compiled.

+3
source share
3 answers

The easiest way is to create a new solution file. Nothing prevents you from having multiple solutions that reference the same projects (or some subset).

Another way is to create a new configuration. In Solution Explorer, right-click the root node β†’ Configuration Manager. In addition to standard configurations such as "debug" or "release", you can create your own. For each config + platform combination, you can use the checkboxes below to determine which projects will be created and which parameters they will use.

No matter what you choose, you will edit the TFSBuild.proj file to indicate the desired solution and / or configuration. MSDN instructions: http://msdn.microsoft.com/en-us/library/bb399127.aspx

+4
source

TFSBuild.proj ( Team Explorer Configuration, .

, "SolutionToBuild". . , , ( ), .

0

( ), . ( , , .

0

Source: https://habr.com/ru/post/1710759/


All Articles