This documentation is archived and is not being maintained.
GetFrameworkSdkPath Task
Visual Studio 2008
Retrieves the path to the Windows Software Development Kit (SDK).
The following example uses the GetFrameworkSdkPath task to store the path to the Windows SDK in the SdkPath property.
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="GetPath">
<GetFrameworkSdkPath>
<Output
TaskParameter="Path"
PropertyName="SdkPath" />
</GetFrameworkSdkPath>
<Message Text="$(SdkPath)"/>
</Target>
</Project>
Show: