Compartir a través de


CanonicalTrackedOutputFiles.AddComputedOutputsForSourceRoot Method (String, array<String )

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

Parameters

  • computedOutputs
    Type: array<System.String[]

    The computed outputs for this source key.

.NET Framework Security

See Also

Reference

CanonicalTrackedOutputFiles Class

AddComputedOutputsForSourceRoot Overload

Microsoft.Build.Utilities Namespace