Build Condition Condition¶
Checks if the current build condition matches a value.
Version¶
Available from version 1.6
Examples¶
Basic example
1<buildCondition value="ForeceBuild" />
Example in context
1<conditional>
2 <conditions>
3 <buildCondition>
4 <value>ForceBuild</value>
5 </buildCondition>
6 </conditions>
7 <tasks>
8 <!-- Tasks to perform if condition passed -->
9 </tasks>
10 <elseTasks>
11 <!-- Tasks to perform if condition failed -->
12 </elseTasks>
13</conditional>
Configuration Elements¶
Element | Description | Type | Required | Default | Version |
value | The build condition to match. | String - one of: * NoBuild * IfModificationExists * ForceBuild |
Yes | n/a | 1.6 |
description | A description of the condition. | String | No | none | 1.6 |
Notes¶
This condition has been kindly supplied by Lasse Sjørup. The original project is available from [[http://ccnetconditional.codeplex.com/]].
Automatically Generated¶
Documentation generated on Monday, 26 May 2014 at 7:18:03 AM