CanonicalTrackedOutputFiles.RemoveRootsWithSharedOutputs(ITaskItem[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.