OutputsForSource Method (ITaskItem[], Boolean)

CanonicalTrackedOutputFiles.OutputsForSource Method (ITaskItem[], Boolean)


This method determines the outputs for a source root (as in the contents of a rooting marker), optionally searching composite rooting markers for subroots that may contain output files.

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.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

public ITaskItem[] OutputsForSource(
	ITaskItem[] sources,
	bool searchForSubRootsInCompositeRootingMarkers


Type: Microsoft.Build.Framework.ITaskItem[]

The sources to find outputs for.

Type: System.Boolean

If true, search composite rooting markers for subroots.

Return Value

Type: Microsoft.Build.Framework.ITaskItem[]

Returns array of outputs for the source.

Return to top
© 2015 Microsoft