BuildManager BuildManager BuildManager BuildManager Class

Definition

Provides a set of methods to help manage the compilation of an ASP.NET application.

public ref class BuildManager sealed
public sealed class BuildManager
type BuildManager = class
Public NotInheritable Class BuildManager
Inheritance
BuildManagerBuildManagerBuildManagerBuildManager

Remarks

The BuildManager class manages the process of compiling assemblies and pages for an application. It is a sealed class and cannot be inherited.

BuildManager contains static members that provide information about the compiled assemblies.

Properties

BatchCompilationEnabled BatchCompilationEnabled BatchCompilationEnabled BatchCompilationEnabled

Gets or sets a value that indicates whether batch compilation is enabled.

CodeAssemblies CodeAssemblies CodeAssemblies CodeAssemblies

Gets a list of assemblies built from the App_Code directory.

IsPrecompiledApp IsPrecompiledApp IsPrecompiledApp IsPrecompiledApp

Gets a value that specifies whether the application is precompiled.

IsUpdatablePrecompiledApp IsUpdatablePrecompiledApp IsUpdatablePrecompiledApp IsUpdatablePrecompiledApp

Gets a value that specifies whether the application is precompiled as updatable.

TargetFramework TargetFramework TargetFramework TargetFramework

Gets the target version of the .NET Framework for the current Web site.

Methods

AddCompilationDependency(String) AddCompilationDependency(String) AddCompilationDependency(String) AddCompilationDependency(String)

Specifies a string that represents a dependency that the build manager uses to help determine if a clean build is required.

AddReferencedAssembly(Assembly) AddReferencedAssembly(Assembly) AddReferencedAssembly(Assembly) AddReferencedAssembly(Assembly)

Adds an assembly to the application's set of referenced assemblies.

CreateCachedFile(String) CreateCachedFile(String) CreateCachedFile(String) CreateCachedFile(String)

Creates a cached file.

CreateInstanceFromVirtualPath(String, Type) CreateInstanceFromVirtualPath(String, Type) CreateInstanceFromVirtualPath(String, Type) CreateInstanceFromVirtualPath(String, Type)

Processes a file, given its virtual path, and creates an instance of the result.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetCachedBuildDependencySet(HttpContext, String) GetCachedBuildDependencySet(HttpContext, String) GetCachedBuildDependencySet(HttpContext, String) GetCachedBuildDependencySet(HttpContext, String)

Returns a build dependency set for a virtual path if the path is located in the ASP.NET cache.

GetCachedBuildDependencySet(HttpContext, String, Boolean) GetCachedBuildDependencySet(HttpContext, String, Boolean) GetCachedBuildDependencySet(HttpContext, String, Boolean) GetCachedBuildDependencySet(HttpContext, String, Boolean)

Returns a build dependency set for a virtual path if the path is located in the ASP.NET cache, even if the content is not current.

GetCompiledAssembly(String) GetCompiledAssembly(String) GetCompiledAssembly(String) GetCompiledAssembly(String)

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

GetCompiledCustomString(String) GetCompiledCustomString(String) GetCompiledCustomString(String) GetCompiledCustomString(String)

Compiles a file, given its virtual path, and returns a custom string that the build provider persists in cache.

GetCompiledType(String) GetCompiledType(String) GetCompiledType(String) GetCompiledType(String)

Compiles a file, given its virtual path, and returns the compiled type.

GetGlobalAsaxType() GetGlobalAsaxType() GetGlobalAsaxType() GetGlobalAsaxType()

Gets an object that represents the compiled type for the Global.asax file.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObjectFactory(String, Boolean) GetObjectFactory(String, Boolean) GetObjectFactory(String, Boolean) GetObjectFactory(String, Boolean)

Gets an object factory for the specified virtual path.

GetReferencedAssemblies() GetReferencedAssemblies() GetReferencedAssemblies() GetReferencedAssemblies()

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

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetType(String, Boolean) GetType(String, Boolean) GetType(String, Boolean) GetType(String, Boolean)

Finds a type in the top-level assemblies or in assemblies that are defined in configuration, and optionally throws an exception on failure.

GetType(String, Boolean, Boolean) GetType(String, Boolean, Boolean) GetType(String, Boolean, Boolean) GetType(String, Boolean, Boolean)

Finds a type in the top-level assemblies, or in assemblies that are defined in configuration, by using a case-insensitive search and optionally throwing an exception on failure.

GetVirtualPathDependencies(String) GetVirtualPathDependencies(String) GetVirtualPathDependencies(String) GetVirtualPathDependencies(String)

Provides a collection of virtual-path dependencies for a specified virtual path.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReadCachedFile(String) ReadCachedFile(String) ReadCachedFile(String) ReadCachedFile(String)

Reads a cached file.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also