共用方式為


GetFrameworkSdkPath.FrameworkSdkVersion40Path Property

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

The path to the v4.0 .NET SDK if it could be found. It will be String.Empty if the SDK was not found.

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 FrameworkSdkVersion40Path As String
[OutputAttribute]
public string FrameworkSdkVersion40Path { get; }
[OutputAttribute]
public:
property String^ FrameworkSdkVersion40Path {
    String^ get ();
}
[<OutputAttribute>]
member FrameworkSdkVersion40Path : string with get
function get FrameworkSdkVersion40Path () : String

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

GetFrameworkSdkPath Class

Microsoft.Build.Tasks Namespace