Export (0) Print
Expand All

PrecompilationFlags Enumeration

Provides flags that determine precompilation behavior.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute] 
public enum PrecompilationFlags
/** @attribute FlagsAttribute() */ 
public enum PrecompilationFlags
FlagsAttribute 
public enum PrecompilationFlags

 Member nameDescription
AllowPartiallyTrustedCallersAn AllowPartiallyTrustedCallersAttribute attribute is generated for the assemblies, which means the assemblies can be called by partially trusted code. The /aptca flag will be added as a compilation symbol. 
CleanThe application will be built "clean": Any previously compiled components will be recompiled. This field corresponds to the -c switch on Aspnet_compiler.exe. 
CodeAnalysisThe /define:CodeAnalysis flag will be added as a compilation symbol. 
DefaultThe default value; no special behavior specified for precompilation. 
DelaySignThe assembly is not fully signed when created. The assembly can be signed later by a signing tool such as Sn.exe. The /delaysign flag will be added as a compilation symbol. 
FixedNamesThe assembly is generated with fixed names for the Web pages. The files are not batched during compilation and instead are compiled individually to produce the fixed names.  
ForceDebugThe compiler will emit debug information. This field corresponds to the -d switch on Aspnet_compiler.exe. 
OverwriteTargetThe target directory can be overwritten. This field corresponds to the -f switch on Aspnet_compiler.exe for a previously precompiled target. 
UpdatableThe deployed application will be updatable. This field corresponds to the -u switch on Aspnet_compiler.exe. 

The PrecompilationFlags class defines the behavior of the build manager during precompilation. The ClientBuildManager class takes PrecompilationFlags as one of its constructor parameters. Precompilation can be performed programmatically through ClientBuildManager or through the Aspnet_compiler.exe command-line tool.

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, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft