Share via


GetInstalledSDKLocations.SDKDirectoryRoots Property

Gets or sets the root directory on disk 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 SDKDirectoryRoots As String()
public string[] SDKDirectoryRoots { get; set; }
public:
property array<String^>^ SDKDirectoryRoots {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
member SDKDirectoryRoots : string[] with get, set
function get SDKDirectoryRoots () : String[]
function set SDKDirectoryRoots (value : String[])

Property Value

Type: array<System.String[]
Returns the root directory.

.NET Framework Security

See Also

Reference

GetInstalledSDKLocations Class

Microsoft.Build.Tasks Namespace