다음을 통해 공유


CanonicalTrackedOutputFiles.RemoveRootsWithSharedOutputs(ITaskItem[]) Method

Definition

Given a set of sources, removes from the dependency graph any roots that share the same outputs as the rooting marker constructed from the given set of sources.

public:
 cli::array <System::String ^> ^ RemoveRootsWithSharedOutputs(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ sources);
public string[] RemoveRootsWithSharedOutputs (Microsoft.Build.Framework.ITaskItem[] sources);
member this.RemoveRootsWithSharedOutputs : Microsoft.Build.Framework.ITaskItem[] -> string[]
Public Function RemoveRootsWithSharedOutputs (sources As ITaskItem()) As String()

Parameters

sources
ITaskItem[]

The set of sources that form the rooting marker whose outputs should not be shared by any other rooting marker.

Returns

String[]

An array of the rooting markers that were removed.

Applies to