Partilhar via


GetFrameworkPath.FrameworkVersion20Path Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the path of the folder that contains the .NET Framework 2.0 assemblies.

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.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<OutputAttribute> _
Public ReadOnly Property FrameworkVersion20Path As String
[OutputAttribute]
public string FrameworkVersion20Path { get; }
[OutputAttribute]
public:
property String^ FrameworkVersion20Path {
    String^ get ();
}
[<OutputAttribute>]
member FrameworkVersion20Path : string with get
function get FrameworkVersion20Path () : String

Property Value

Type: System.String
The path of the folder that contains the .NET Framework 2.0 assemblies.

.NET Framework Security

See Also

Reference

GetFrameworkPath Class

Microsoft.Build.Tasks Namespace