Compartilhar via


RequiresFramework35SP1Assembly.ReferencedAssemblies Property

Gets or sets the assemblies referenced in your project.

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

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
The assemblies in your project.

.NET Framework Security

See Also

Reference

RequiresFramework35SP1Assembly Class

Microsoft.Build.Tasks Namespace