BuildManager.GetReferencedAssemblies Method

Returns a list of assembly references that all page compilations must reference.

Namespace: System.Web.Compilation
Assembly: System.Web (in system.web.dll)

public static ICollection GetReferencedAssemblies ()
public static ICollection GetReferencedAssemblies ()
public static function GetReferencedAssemblies () : ICollection
Not applicable.

Return Value

An ICollection collection of assembly references.

The collection of assemblies that is returned from the GetReferencedAssemblies method includes assemblies specified in the assemblies element of the Web.config file, assemblies built from custom code in the App_Code directory, and assemblies in other top-level folders.

GetReferencedAssemblies is introduced in the .NET Framework version 3.5. For more information, see The .NET Framework 3.5 Architecture.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: