共用方式為


Project.EvaluatedItems Property

Gets a collection of the items evaluated during the build.

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 EvaluatedItems As BuildItemGroup
public BuildItemGroup EvaluatedItems { get; }
public:
property BuildItemGroup^ EvaluatedItems {
    BuildItemGroup^ get ();
}
member EvaluatedItems : BuildItemGroup with get
function get EvaluatedItems () : BuildItemGroup

Property Value

Type: Microsoft.Build.BuildEngine.BuildItemGroup
A BuildItemGroup containing the items evaluated during the build.

Remarks

The returned BuildItemGroup contains all the evaluated items in the project after wildcard and property expansion. The items in this property represent the actual items used during the build process. This property value is generated every time something in the project changes. Changes to existing items in this collection will be reflected the next time the project is saved, but adding or deleting items will not impact the project.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.BuildEngine Namespace