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 propertyBuildProcessEnvironmentGets the environment variables which were set when this build was created.
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 propertyDisableInProcNodeGets or sets the flag determining whether to use the in process node.
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 propertyLogInitialPropertiesAndItemsGets or sets the flag determining whether the build logs the input parameters.
Public propertyLogTaskInputsGets or sets the flag determining whether the build logs the task parameters.
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 propertyShutdownInProcNodeOnBuildFinishGets or sets the flag determining whether to shut down the in process node when the build finishes. The default is false.
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 the default hash function. (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.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft