Compartilhar via


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)

Syntax

'Declaration
Public ReadOnly Property EvaluatedItemsIgnoringCondition As BuildItemGroup
public BuildItemGroup EvaluatedItemsIgnoringCondition { get; }
public:
property BuildItemGroup^ EvaluatedItemsIgnoringCondition {
    BuildItemGroup^ get ();
}
member EvaluatedItemsIgnoringCondition : BuildItemGroup with get
function get EvaluatedItemsIgnoringCondition () : BuildItemGroup

Property Value

Type: Microsoft.Build.BuildEngine.BuildItemGroup
A BuildItemGroup containing all items in a project.

Remarks

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.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.BuildEngine Namespace