Share via


CanonicalTrackedInputFiles.ComputeSourcesNeedingCompilation Method (Boolean)

This method computes the sources that need to be compiled based on the output files and the full dependency graph of inputs, optionally searching composite rooting markers for subroots that may contain input 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 ComputeSourcesNeedingCompilation ( _
    searchForSubRootsInCompositeRootingMarkers As Boolean _
) As ITaskItem()
public ITaskItem[] ComputeSourcesNeedingCompilation(
    bool searchForSubRootsInCompositeRootingMarkers
)
public:
array<ITaskItem^>^ ComputeSourcesNeedingCompilation(
    bool searchForSubRootsInCompositeRootingMarkers
)
member ComputeSourcesNeedingCompilation : 
        searchForSubRootsInCompositeRootingMarkers:bool -> ITaskItem[] 
public function ComputeSourcesNeedingCompilation(
    searchForSubRootsInCompositeRootingMarkers : boolean
) : ITaskItem[]

Parameters

  • searchForSubRootsInCompositeRootingMarkers
    Type: System.Boolean

    If true, search composite rooting markers for subroots.

Return Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
Array of files that need to be compiled

.NET Framework Security

See Also

Reference

CanonicalTrackedInputFiles Class

ComputeSourcesNeedingCompilation Overload

Microsoft.Build.Utilities Namespace