Export (0) Print
Expand All

MSBuild Properties

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The MSBuild type exposes the following members.

  Name Description
Public property BuildEngine Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.)
Public property BuildEngine2 Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.)
Public property BuildEngine3 Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.)
Public property BuildEngine4 Gets the instance of the IBuildEngine4 object used by the task. (Inherited from Task.)
Public property BuildInParallel Infrastructure. Gets or sets a Boolean value that specifies whether the projects specified in the Projects property are built in parallel, if possible.
Protected property HelpKeywordPrefix Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.)
Public property HostObject Gets or sets the host object associated with the task. (Inherited from Task.)
Public property Log Infrastructure. Gets an instance of a TaskLoggingHelperExtension containing task logging methods. (Inherited from TaskExtension.)
Public property Projects Infrastructure. Gets or sets the project files to build.
Public property Properties Infrastructure. Gets or sets a semicolon-delimited list of property name/value pairs to apply as global properties to the child project.
Public property RebaseOutputs Infrastructure. Gets or sets a Boolean value that specifies whether the relative paths of target output items from the built projects have their paths adjusted to be relative to the calling project.
Public property RemoveProperties Gets or sets the set of global properties to remove.
Public property RunEachTargetSeparately Infrastructure. Gets or sets a Boolean value that specifies whether the MSBuild task invokes each target in the list passed to MSBuild one at a time, instead of at the same time.
Public property SkipNonexistentProjects Infrastructure. Gets or sets a Boolean value that specifies whether project files that do not exist on the disk will be skipped.
Public property StopOnFirstFailure Infrastructure. Gets or sets a Boolean value that specifies whether the task should stop building the remaining projects as soon as any one of them may not work.
Public property TargetAndPropertyListSeparators Infrastructure. Gets or sets the escape characters to be unescaped from the specified Properties and Targets.
Public property TargetOutputs Infrastructure. Returns the outputs of the built targets from all the project files. Only the outputs from the targets that were specified are returned, not any outputs that may exist on targets that those targets depend on.
Public property Targets Infrastructure. Gets or sets the target or targets to build in the project files. Use a semicolon to separate a list of target names.
Protected property TaskResources Gets or sets the culture-specific resources associated with the task. (Inherited from Task.)
Public property ToolsVersion Infrastructure. Gets or sets a target .NET Framework version to build the project with, which enables an MSBuild task to build a project that targets a different version of the .NET Framework than the one specified in the project. Valid values are 2.0, 3.0 and 3.5.
Public property UnloadProjectsOnCompletion Infrastructure. Gets or sets a Boolean value that specifies whether the project will be unloaded once the operation is completed.
Public property UseResultsCache Infrastructure. Gets or sets a Boolean value that indicates whether the MSBuild engine will return the built targets from the cache.
Top
Show:
© 2014 Microsoft