This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Tfs.Build.Variables.
Summary
Evaluate the value of TFS variable.
Throws ArgumentException if no variable is found with the given name.
Syntax
public static string EvaluateTfsBuildVariable(this ICakeContext context, string variableName)
Examples
var value = EvaluateTfsBuildVariable("Tfs.Example.Variable");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
variableName |
string |
The name of the TFS variable |
Return Value
Type |
Description |
string |
Value of the variable. |