BuildManager.GetCompiledAssembly Method (String)


Compiles a file into an assembly using the specified virtual path.

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

public static Assembly GetCompiledAssembly(
	string virtualPath


Type: System.String

The virtual path to build into an assembly.

Return Value

Type: System.Reflection.Assembly

An Assembly object that is compiled from the specified virtual path, which is cached to either memory or to disk.

.NET Framework
Available since 2.0
Return to top