AssemblyVersionCompatibility Enum

Definition

Defines the different types of assembly version compatibility. This feature is not available in version 1.0 of the .NET Framework.

public enum class AssemblyVersionCompatibility
public enum AssemblyVersionCompatibility
[System.Serializable]
public enum AssemblyVersionCompatibility
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum AssemblyVersionCompatibility
type AssemblyVersionCompatibility = 
Public Enum AssemblyVersionCompatibility
Inheritance
AssemblyVersionCompatibility
Attributes

Fields

SameDomain 3

The assembly cannot execute with other versions if they are executing in the same application domain.

SameMachine 1

The assembly cannot execute with other versions if they are executing on the same machine.

SameProcess 2

The assembly cannot execute with other versions if they are executing in the same process.

Remarks

AssemblyVersionCompatibility defines the compatibility of an assembly with other versions of the same assembly, indicating if it cannot execute side-by-side with other versions (for example, due to conflicts over a device driver).

If no compatibility is specified, an assembly is side-by-side compatible in all scopes.

An assembly cannot be more specific with regard to exactly which previous versions it is not side-by-side compatible with. Therefore, if the AssemblyVersionCompatibility is specified, it means the assembly is non side-by-side with all know versions. If not specified, it means it is side-by-side with all known versions.

Applies to