This documentation is archived and is not being maintained.

GetFrameworkSdkPath Task 

Retrieves the path to the .NET Framework SDK.

The following table describes the parameters of the GetFrameworkSdkPath task.

Parameter Description


Optional String output parameter.

Contains the path to the .NET Framework SDK.

If the .NET Framework SDK is not installed, the task returns an empty value in the Path parameter.

The following example uses the GetFrameworkSdkPath task to store the path to the .NET Framework SDK in the SdkPath property.

<Project xmlns="">
    <Target Name="GetPath">
                PropertyName="SdkPath" />
        <Message Text="$(SdkPath)"/>