Project.GetLogicalProject Method

Definition

Returns an iterator over the "logical project". The logical project is defined as the unevaluated project obtained from the single MSBuild file that is the result of inlining the text of all imports of the original MSBuild project manifest file.

public:
 System::Collections::Generic::IEnumerable<Microsoft::Build::Construction::ProjectElement ^> ^ GetLogicalProject();
public System.Collections.Generic.IEnumerable<Microsoft.Build.Construction.ProjectElement> GetLogicalProject ();
member this.GetLogicalProject : unit -> seq<Microsoft.Build.Construction.ProjectElement>
Public Iterator Function GetLogicalProject () As IEnumerable(Of ProjectElement)
Public Function GetLogicalProject () As IEnumerable(Of ProjectElement)

Returns

An enumerator over all the elements in the "logical project".

Remarks

The logical project is defined as the unevaluated project obtained from the single MSBuild file that is the result of including inline the text of all imports of the original MSBuild project manifest file.

Applies to