Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

BuildCommonUtil Class

System.Object
  Microsoft.TeamFoundation.Build.Common.BuildCommonUtil

Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
public static class BuildCommonUtil

The BuildCommonUtil type exposes the following members.

  NameDescription
Public propertyStatic memberBuildAgentIdVariableGets the variable to use when referencing the build agent ID in an agent's BuildDirectory property.
Public propertyStatic memberBuildAgentNameVariableGets the variable to use when referencing the build agent name in an agent's BuildDirectory property.
Public propertyStatic memberBuildDefinitionIdVariableGets the variable to use when referencing the build definition ID in an agent's BuildDirectory property.
Public propertyStatic memberBuildDefinitionPathVariableGets the variable to use when referencing the build definition path in an agent's BuildDirectory property.
Public propertyStatic memberBuildDirEnvironmentVariableGets the environment variable to use when referencing the build directory on a given agent.
Public propertyStatic memberBuildRegistryKeyPathGets the registry key path where build-specific settings should be stored.
Public propertyStatic memberDefaultAgentPortGets the default port for build agents.
Public propertyStatic memberDefaultHostedWorkingDirectoryGets the default working directory for hosted build agents.
Public propertyStatic memberDefaultWorkingDirectoryGets the default working directory for build agents.
Public propertyStatic memberMacroPattern
Public propertyStatic memberNoCICheckInCommentGets the comment that should be included in the check-in comment to make sure that CI ignores the changeset
Public propertyStatic memberSourceDirEnvironmentVariableGets the sources directory, into which all source files are mapped by default. This is equivalent to BuildDirEnvironmentVariable\SourceSubdirectory.
Top
  NameDescription
Public methodStatic memberExpandEnvironmentVariables(String)Expands environment variables which are of the format '$(...)' where the '...' part of the string is any valid combination of letters and numbers. Any patterns recognized as environment variables which do not expand to an existing variable in the current environment are left as-is in the output path.
Public methodStatic memberExpandEnvironmentVariables(String, IDictionary<String, String>)Expands environment variables which are of the format '$(...)' where the '...' part of the string is any valid combination of letters and numbers. Any patterns recognized as environment variables which do not expand to an existing variable in the current environment are matched with the keys in the string dictionary and replaced with the dictionaries value. If a pattern does not match an environment variable or a key in the dictionary it is left as-is in the output path.
Public methodStatic memberGetCommonLocalPathDetermines the longest common root path between all provided items.
Public methodStatic memberGetCommonServerPathDetermines the longest common root path between all provided items.
Public methodStatic memberReplacePerforms a string replacement.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft. All rights reserved.