Compartir a través de


BuildManager Class

Definition

This class is the public entry point for executing builds.

public ref class BuildManager : IDisposable
public ref class BuildManager
public class BuildManager : IDisposable
public class BuildManager
type BuildManager = class
    interface IDisposable
type BuildManager = class
Public Class BuildManager
Implements IDisposable
Public Class BuildManager
Inheritance
BuildManager
Implements

Constructors

BuildManager()

Creates a new unnamed build manager. Normally there is only one build manager in a process, and it is the default build manager. Access it with DefaultBuildManager

BuildManager(String)

Creates a new build manager with an arbitrary distinct name. Normally there is only one build manager in a process, and it is the default build manager. Access it with DefaultBuildManager

Properties

DefaultBuildManager

Gets the singleton instance of the Build Manager.

Methods

BeginBuild(BuildParameters, IEnumerable<BuildManager.DeferredBuildMessage>)

Prepares the BuildManager to receive build requests.

BeginBuild(BuildParameters)

Prepares the BuildManager to receive build requests.

Build(BuildParameters, BuildRequestData)

Convenience method. Submits a lone build request and blocks until results are available.

Build(BuildParameters, GraphBuildRequestData)

Convenience method. Submits a lone graph build request and blocks until results are available.

BuildRequest(BuildRequestData)

Convenience method. Submits a build request and blocks until the results are available.

BuildRequest(GraphBuildRequestData)

Convenience method. Submits a graph build request and blocks until the results are available.

CancelAllSubmissions()

Cancels all outstanding submissions asynchronously.

Dispose()

Dispose of the build manager.

EndBuild()

Signals that no more build requests are expected (or allowed) and the BuildManager may clean up.

Finalize()

Finalizes an instance of the BuildManager class.

GetProjectInstanceForBuild(Project)

This methods requests the BuildManager to find a matching ProjectInstance in its cache of previously-built projects. If none exist, a new instance will be created from the specified project.

PendBuildRequest(BuildRequestData)

Submits a build request to the current build but does not start it immediately. Allows the user to perform asynchronous execution or access the submission ID prior to executing the request.

PendBuildRequest(GraphBuildRequestData)

Submits a graph build request to the current build but does not start it immediately. Allows the user to perform asynchronous execution or access the submission ID prior to executing the request.

ResetCaches()

Clears out all of the cached information.

ShutdownAllNodes()

Shuts down all idle MSBuild nodes on the machine

Applies to