This documentation is archived and is not being maintained.
GetFrameworkPath Task
Visual Studio 2008
Updated: January 2010
Retrieves the path to the .NET Framework assemblies.
The following example uses the GetFrameworkPath task to store the path to the .NET Framework in the FrameworkPath property.
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="GetPath">
<GetFrameworkPath>
<Output
TaskParameter="Path"
PropertyName="FrameworkPath" />
</GetFrameworkPath>
</Target>
</Project>
Show: