共用方式為


ResolveSDKReference.References Property

References may be passed in so that the SDKNames can be resolved. Once resolved, the sdkroot paths can be appended to the references so RAR can find the assembly correctly in the sdk location.

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

Property Value

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

.NET Framework Security

See Also

Reference

ResolveSDKReference Class

Microsoft.Build.Tasks Namespace