Delen via


GetInstalledSDKLocations.InstalledSDKs Property

Gets or sets the set of items that represent all of the installed SDKs found in the SDKDirectory and SDKRegistry roots.

The itemspec is the SDK install location. There is a piece of metadata called SDKName which contains the name of the SDK.

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 Property InstalledSDKs As ITaskItem()
[OutputAttribute]
public ITaskItem[] InstalledSDKs { get; set; }
[OutputAttribute]
public:
property array<ITaskItem^>^ InstalledSDKs {
    array<ITaskItem^>^ get ();
    void set (array<ITaskItem^>^ value);
}
[<OutputAttribute>]
member InstalledSDKs : ITaskItem[] with get, set
function get InstalledSDKs () : ITaskItem[]
function set InstalledSDKs (value : ITaskItem[])

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
Returns the set of all installed SDKs found.

.NET Framework Security

See Also

Reference

GetInstalledSDKLocations Class

Microsoft.Build.Tasks Namespace