PrecompilationFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides flags that determine precompilation behavior.
This enumeration supports a bitwise combination of its member values.
public enum class PrecompilationFlags
[System.Flags]
public enum PrecompilationFlags
[<System.Flags>]
type PrecompilationFlags =
Public Enum PrecompilationFlags
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
Default | 0 | The default value; no special behavior specified for precompilation. |
Updatable | 1 | The deployed application will be updatable. This field corresponds to the |
OverwriteTarget | 2 | The target directory can be overwritten. This field corresponds to the |
ForceDebug | 4 | The compiler will emit debug information. This field corresponds to the |
Clean | 8 | The application will be built "clean": Any previously compiled components will be recompiled. This field corresponds to the |
CodeAnalysis | 16 | The |
AllowPartiallyTrustedCallers | 32 | An AllowPartiallyTrustedCallersAttribute attribute is generated for the assemblies, which means the assemblies can be called by partially trusted code. The |
DelaySign | 64 | The assembly is not fully signed when created. The assembly can be signed later by a signing tool such as Sn.exe. The |
FixedNames | 128 | The 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. |
IgnoreBadImageFormatException | 256 | The compiler will ignore bad image format exceptions. |
Remarks
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.
Applies to
.NET