共用方式為


GetInstalledSDKLocations.SDKRegistryRoot Property

Gets or sets the root registry root in which to look for SDKs.

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
Public Property SDKRegistryRoot As String
public string SDKRegistryRoot { get; set; }
public:
property String^ SDKRegistryRoot {
    String^ get ();
    void set (String^ value);
}
member SDKRegistryRoot : string with get, set
function get SDKRegistryRoot () : String 
function set SDKRegistryRoot (value : String)

Property Value

Type: System.String
Returns the registry root.

.NET Framework Security

See Also

Reference

GetInstalledSDKLocations Class

Microsoft.Build.Tasks Namespace