Dela via


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

Constructor for a single input source file

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(), _
    sourceFile As ITaskItem, _
    excludedInputPaths As ITaskItem(), _
    outputs As CanonicalTrackedOutputFiles, _
    useMinimalRebuildOptimization As Boolean, _
    maintainCompositeRootingMarkers As Boolean _
)
public CanonicalTrackedInputFiles(
    ITask ownerTask,
    ITaskItem[] tlogFiles,
    ITaskItem sourceFile,
    ITaskItem[] excludedInputPaths,
    CanonicalTrackedOutputFiles outputs,
    bool useMinimalRebuildOptimization,
    bool maintainCompositeRootingMarkers
)
public:
CanonicalTrackedInputFiles(
    ITask^ ownerTask, 
    array<ITaskItem^>^ tlogFiles, 
    ITaskItem^ sourceFile, 
    array<ITaskItem^>^ excludedInputPaths, 
    CanonicalTrackedOutputFiles^ outputs, 
    bool useMinimalRebuildOptimization, 
    bool maintainCompositeRootingMarkers
)
new : 
        ownerTask:ITask * 
        tlogFiles:ITaskItem[] * 
        sourceFile:ITaskItem * 
        excludedInputPaths:ITaskItem[] * 
        outputs:CanonicalTrackedOutputFiles * 
        useMinimalRebuildOptimization:bool * 
        maintainCompositeRootingMarkers:bool -> CanonicalTrackedInputFiles
public function CanonicalTrackedInputFiles(
    ownerTask : ITask, 
    tlogFiles : ITaskItem[], 
    sourceFile : ITaskItem, 
    excludedInputPaths : ITaskItem[], 
    outputs : CanonicalTrackedOutputFiles, 
    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