Project.EvaluatedItemsIgnoringCondition 属性

定义

获取项目中所有项的集合,包括那些由于 Condition 特性计算结果为 false 而不在生成过程中使用的项。Gets a collection of all items in a project, even those not used in the build process because a Condition attribute evaluated to false.

public:
 property Microsoft::Build::BuildEngine::BuildItemGroup ^ EvaluatedItemsIgnoringCondition { Microsoft::Build::BuildEngine::BuildItemGroup ^ get(); };
public Microsoft.Build.BuildEngine.BuildItemGroup EvaluatedItemsIgnoringCondition { get; }
member this.EvaluatedItemsIgnoringCondition : Microsoft.Build.BuildEngine.BuildItemGroup
Public ReadOnly Property EvaluatedItemsIgnoringCondition As BuildItemGroup

属性值

BuildItemGroup

包含项目中所有项的 BuildItemGroupA BuildItemGroup containing all items in a project.

注解

返回的 BuildItemGroup 包含项目中的所有项,并在执行通配符和属性扩展后,包括由于特性的计算结果为而不在生成过程中使用的那些项 Condition falseThe 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.

适用于