Project.EvaluatedItemsIgnoringCondition Property

 

Gets a collection of all items in a project, even those not used in the build process because a Condition attribute evaluated to false.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

public BuildItemGroup EvaluatedItemsIgnoringCondition { get; }

Property Value

Type: Microsoft.Build.BuildEngine.BuildItemGroup

A BuildItemGroup containing all items in a project.

The returned BuildItemGroup contains all items in the project after wildcard and property expansion, including those that were not used during the build process due to Condition attributes evaluating to false. This property value is only generated when certain changes occur, such as a new Import element being added to the project. Adding or deleting items from this property does not impact the project.

Return to top
Show: