Udostępnij za pośrednictwem


BuildManager.GetProjectInstanceForBuild(Project) Method

Definition

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.

public:
 Microsoft::Build::Execution::ProjectInstance ^ GetProjectInstanceForBuild(Microsoft::Build::Evaluation::Project ^ project);
public Microsoft.Build.Execution.ProjectInstance GetProjectInstanceForBuild (Microsoft.Build.Evaluation.Project project);
member this.GetProjectInstanceForBuild : Microsoft.Build.Evaluation.Project -> Microsoft.Build.Execution.ProjectInstance
Public Function GetProjectInstanceForBuild (project As Project) As ProjectInstance

Parameters

project
Project

The Project for which an instance should be retrieved.

Returns

The instance.

Applies to