次の方法で共有


CanonicalTrackedOutputFiles.AddComputedOutputsForSourceRoot Method (String, array<ITaskItem )

This method adds computed outputs for the given source key to the output graph.

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 AddComputedOutputsForSourceRoot ( _
    sourceKey As String, _
    computedOutputs As ITaskItem() _
)
public void AddComputedOutputsForSourceRoot(
    string sourceKey,
    ITaskItem[] computedOutputs
)
public:
void AddComputedOutputsForSourceRoot(
    String^ sourceKey, 
    array<ITaskItem^>^ computedOutputs
)
member AddComputedOutputsForSourceRoot : 
        sourceKey:string * 
        computedOutputs:ITaskItem[] -> unit
public function AddComputedOutputsForSourceRoot(
    sourceKey : String, 
    computedOutputs : ITaskItem[]
)

Parameters

.NET Framework Security

See Also

Reference

CanonicalTrackedOutputFiles Class

AddComputedOutputsForSourceRoot Overload

Microsoft.Build.Utilities Namespace