次の方法で共有


CanonicalTrackedOutputFiles.AddComputedOutputForSourceRoot Method

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 AddComputedOutputForSourceRoot ( _
    sourceKey As String, _
    computedOutput As String _
)
public void AddComputedOutputForSourceRoot(
    string sourceKey,
    string computedOutput
)
public:
void AddComputedOutputForSourceRoot(
    String^ sourceKey, 
    String^ computedOutput
)
member AddComputedOutputForSourceRoot : 
        sourceKey:string * 
        computedOutput:string -> unit
public function AddComputedOutputForSourceRoot(
    sourceKey : String, 
    computedOutput : String
)

Parameters

  • computedOutput
    Type: System.String

    The computed outputs for this source key.

.NET Framework Security

See Also

Reference

CanonicalTrackedOutputFiles Class

Microsoft.Build.Utilities Namespace