Export (0) Print
Expand All

BuildParameters Class

This class represents all of the settings which must be specified to start a build.

System.Object
  Microsoft.Build.Execution.BuildParameters

Namespace:  Microsoft.Build.Execution
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

public class BuildParameters

The BuildParameters type exposes the following members.

  NameDescription
Public methodBuildParameters()Creates build parameters.
Public methodBuildParameters(ProjectCollection)Creates build parameters and initializes them from a project collection.
Top

  NameDescription
Public propertyBuildThreadPriorityGets or sets the desired thread priority for building.
Public propertyCultureGets or sets the name of the culture to use during the build.
Public propertyDefaultToolsVersionGets or sets the default tools version for the build.
Public propertyDetailedSummaryGets or sets a switch that specifies whether the build should emit a detailed summary at the end of the log.
Public propertyEnableNodeReuseGets or sets a flag determining whether out-of-process nodes should persist after the build and wait for further builds.
Public propertyEnvironmentPropertiesGets an immutable collection of environment properties.
Public propertyForwardingLoggersGets or sets the collection of forwarding logger descriptions.
Public propertyGlobalPropertiesGets or sets an immutable collection of global properties.
Public propertyHostServicesGets or sets a service that allows the host to provide additional control over the build process.
Public propertyLegacyThreadingSemanticsGets or sets a switch that enables or disables legacy threading semantics.
Public propertyLoggersGets or sets the collection of loggers to use during the build.
Public propertyMaxNodeCountGets or sets the maximum number of nodes this build may use.
Public propertyMemoryUseLimitGets or sets the amount of memory the build should limit itself to using, in megabytes.
Public propertyNodeExeLocationGets or sets the location of the build node executable.
Public propertyOnlyLogCriticalEventsGets or sets a flag that determines if non-critical logging events should be discarded.
Public propertyResetCachesGets or sets a switch that specifies whether the build should reset the configuration and results caches.
Public propertySaveOperatingEnvironmentGets or sets a switch specifying if the operating environment, such as the current directory and environment, should be saved and restored between project builds and task invocations.
Public propertyToolsetDefinitionLocationsGets or sets locations to search for toolsets.
Public propertyToolsetsGets all of the toolsets.
Public propertyUICultureGets or sets the name of the UI culture to use during the build.
Public propertyUseSynchronousLoggingGets or sets a switch that specifies whether synchronous logging is used when there is only a single process.
Top

  NameDescription
Public methodCloneCreates a clone of this build parameters object.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetToolsetGets a given toolset.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft