Export (0) Print
Expand All

ClientBuildManager.GetTopLevelAssemblyReferences Method

Returns an array of the assemblies defined in the Bin directory and the <assembly> section of the Web configuration file.

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

public string[] GetTopLevelAssemblyReferences(
	string virtualPath
)

Parameters

virtualPath
Type: System.String

The configuration name and path.

Return Value

Type: System.String[]
A String array containing paths to code bases in the Bin directory and the <assembly> section of the Web configuration file.

ExceptionCondition
ArgumentNullException

virtualPath is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft