共用方式為


ResolveAssemblyReference.ResolvedSDKReferences Property

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

A list of resolved SDK references which contain the sdk name, sdk location and the targeted configuration.

These locations will only be searched if the reference has the SDKName metadata attached to it.

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

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
Returns ITaskItem.

.NET Framework Security

See Also

Reference

ResolveAssemblyReference Class

Microsoft.Build.Tasks Namespace