Reputation: 51
Is something like this possible, to build the solution with two configurations at the same time?
Upvotes: 3
Views: 4873
Reputation: 11
Multipliers in the multi-configuration build should not be a variable. It should be buildConfiguration
[rather than $(buildConfiguration)
]and this can be defined as the variable in the variable section with different configurations.
buildConfiguration = Debug, Release
Upvotes: 1
Reputation: 51
The Multiplier varaibale has to be supplied without the $ and parenthesis ()
"Under the agent job of the assigned task, on the Parallelism tab, select Multi-configuration and specify the Multipliers separated by commas. For example: BuildConfiguration, BuildPlatform"
Upvotes: 1
Reputation: 41595
Yes, you need go to the Agent Job options -> Parallelism -> Multi-configuration:
In the build task you put the same variable in the build configuration.
Now the build will be executed twice, one with release configuration and one with debug.
Upvotes: 1