Delen via


CanonicalTrackedInputFiles Constructor (ITask, array<ITaskItem[], array<ITaskItem[], array<ITaskItem[], array<ITaskItem , Boolean, Boolean)

Constructor for multiple input source 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 Sub New ( _
    ownerTask As ITask, _
    tlogFiles As ITaskItem(), _
    sourceFiles As ITaskItem(), _
    excludedInputPaths As ITaskItem(), _
    outputs As ITaskItem(), _
    useMinimalRebuildOptimization As Boolean, _
    maintainCompositeRootingMarkers As Boolean _
)
public CanonicalTrackedInputFiles(
    ITask ownerTask,
    ITaskItem[] tlogFiles,
    ITaskItem[] sourceFiles,
    ITaskItem[] excludedInputPaths,
    ITaskItem[] outputs,
    bool useMinimalRebuildOptimization,
    bool maintainCompositeRootingMarkers
)
public:
CanonicalTrackedInputFiles(
    ITask^ ownerTask, 
    array<ITaskItem^>^ tlogFiles, 
    array<ITaskItem^>^ sourceFiles, 
    array<ITaskItem^>^ excludedInputPaths, 
    array<ITaskItem^>^ outputs, 
    bool useMinimalRebuildOptimization, 
    bool maintainCompositeRootingMarkers
)
new : 
        ownerTask:ITask * 
        tlogFiles:ITaskItem[] * 
        sourceFiles:ITaskItem[] * 
        excludedInputPaths:ITaskItem[] * 
        outputs:ITaskItem[] * 
        useMinimalRebuildOptimization:bool * 
        maintainCompositeRootingMarkers:bool -> CanonicalTrackedInputFiles
public function CanonicalTrackedInputFiles(
    ownerTask : ITask, 
    tlogFiles : ITaskItem[], 
    sourceFiles : ITaskItem[], 
    excludedInputPaths : ITaskItem[], 
    outputs : ITaskItem[], 
    useMinimalRebuildOptimization : boolean, 
    maintainCompositeRootingMarkers : boolean
)

Parameters

  • useMinimalRebuildOptimization
    Type: System.Boolean

    WARNING: Minimal rebuild optimization requires 100% accurate computed outputs to be specified!

  • maintainCompositeRootingMarkers
    Type: System.Boolean

    True to keep composite rooting markers around (many-to-one case) or false to shred them (one-to-one or one-to-many case)

.NET Framework Security

See Also

Reference

CanonicalTrackedInputFiles Class

CanonicalTrackedInputFiles Overload

Microsoft.Build.Utilities Namespace