System.Web.Compilation.ClientBuildManagerParameter Class

Contains values passed to the ASP.NET compiler during precompilation.

See Also: ClientBuildManagerParameter Members


public class ClientBuildManagerParameter


ASP.NET Web pages and code files can be precompiled to facilitate a faster response for users and allow for the deployment of the site without deploying the source code. For more information on precompiling an ASP.NET Web site, see ASP.NET Web Site Precompilation.

The System.Web.Compilation.ClientBuildManagerParameter class stores values that are used during precompilation. The ClientBuildManagerParameter.PrecompilationFlags property determines how the assembly will be built. For example, you can set ClientBuildManagerParameter.PrecompilationFlags to PrecompilationFlags.Clean to recompile any previously compiled components, or set it to PrecompilationFlags.OverwriteTarget to permit the resulting assembly to overwrite any components in the target directory. The System.Web.Compilation.PrecompilationFlags enumerator has a FlagsAttribute attribute that allows a bitwise combination of its member values. The ClientBuildManagerParameter.PrecompilationFlags property can contain more than one value from the System.Web.Compilation.PrecompilationFlags enumeration to specify a combination of precompilation behaviors.

Either the ClientBuildManagerParameter.StrongNameKeyContainer property or the ClientBuildManagerParameter.StrongNameKeyFile property is assigned a value to create a strong-named assembly. Both values do not need to be set to create a strong-named assembly.

A System.Web.Compilation.ClientBuildManagerParameter object is passed to the System.Web.Compilation.ClientBuildManager object through the ClientBuildManager.#ctor(string, string, string, ClientBuildManagerParameter) constructor.


Namespace: System.Web.Compilation
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0