This documentation is archived and is not being maintained.

AssemblyNameFlags Enumeration

Updated: March 2011

Provides information about an Assembly reference.

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

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public enum AssemblyNameFlags

Member nameDescription
Supported by the .NET Compact FrameworkSupported by the XNA FrameworkNoneSpecifies that no flags are in effect.
Supported by the .NET Compact FrameworkSupported by the XNA FrameworkPublicKeySpecifies that a public key is formed from the full public key rather than the public key token.
EnableJITcompileOptimizerSpecifies that just-in-time (JIT) compiler optimization is disabled for the assembly. This is the exact opposite of the meaning that is suggested by the member name.
EnableJITcompileTrackingSpecifies that just-in-time (JIT) compiler tracking is enabled for the assembly.
Supported by the .NET Compact FrameworkSupported by the XNA FrameworkRetargetableSpecifies that the assembly can be retargeted at runtime to an assembly from a different publisher. This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 3.5, 2.0, 1.0

XNA Framework

Supported in: 3.0, 2.0, 1.0




March 2011

Clarified that Retargetable is used only for .NET Framework assemblies.

Content bug fix.

July 2009

Corrected the description of EnableJITcompileOptimizer.

Customer feedback.