Share via


CanonicalTrackedOutputFiles.OutputsForSource Method (array<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)

Syntax

'Declaration
Public Function OutputsForSource ( _
    sources As ITaskItem(), _
    searchForSubRootsInCompositeRootingMarkers As Boolean _
) As ITaskItem()
public ITaskItem[] OutputsForSource(
    ITaskItem[] sources,
    bool searchForSubRootsInCompositeRootingMarkers
)
public:
array<ITaskItem^>^ OutputsForSource(
    array<ITaskItem^>^ sources, 
    bool searchForSubRootsInCompositeRootingMarkers
)
member OutputsForSource : 
        sources:ITaskItem[] * 
        searchForSubRootsInCompositeRootingMarkers:bool -> ITaskItem[] 
public function OutputsForSource(
    sources : ITaskItem[], 
    searchForSubRootsInCompositeRootingMarkers : boolean
) : ITaskItem[]

Parameters

  • searchForSubRootsInCompositeRootingMarkers
    Type: System.Boolean

    If true, search composite rooting markers for subroots.

Return Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
Returns array of outputs for the source.

.NET Framework Security

See Also

Reference

CanonicalTrackedOutputFiles Class

OutputsForSource Overload

Microsoft.Build.Utilities Namespace