BuildManager.GetProjectInstanceForBuild(Project) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.