AssemblyVersionCompatibility Enumeration

 

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

Namespace:   System.Configuration.Assemblies
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
[ComVisibleAttribute(true)]
public enum AssemblyVersionCompatibility

Member nameDescription
SameDomain

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

SameMachine

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

SameProcess

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

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.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: