ProjectFileConverter.ConvertInMemory Method (Engine, ProjectLoadSettings)

Note: This API is now obsolete.

This is the entry point method, which performs the project file format conversion. This method will simply create a new MSBuild Project object in memory, instead of trying to write it to disk.

Namespace:   Microsoft.Build.Conversion
Assembly:  Microsoft.Build.Conversion.v4.0 (in Microsoft.Build.Conversion.v4.0.dll)

[ObsoleteAttribute("Use parameterless ConvertInMemory() method instead")]
public Project ConvertInMemory(
	Engine engine,
	ProjectLoadSettings projectLoadSettings


Type: Microsoft.Build.BuildEngine.Engine

The Engine in which to create the new project.

Type: Microsoft.Build.BuildEngine.ProjectLoadSettings

A ProjectLoadSettings flag that determines whether the project ignores non-existent .target files when loading.

Return Value

Type: Microsoft.Build.BuildEngine.Project

Returns the converted Project.

.NET Framework
Available since 3.5
Return to top