AssemblyName::VersionCompatibility Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the information related to the assembly's compatibility with other assemblies.

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

property AssemblyVersionCompatibility VersionCompatibility {
	AssemblyVersionCompatibility get();
	void set(AssemblyVersionCompatibility value);

Property Value

Type: System.Configuration.Assemblies::AssemblyVersionCompatibility

A value that represents information about the assembly's compatibility with other assemblies.

VersionCompatibility information indicates, for example, that the assembly cannot execute side-by-side with other versions due to conflicts over a device driver.

Currently, VersionCompatibility always returns AssemblyVersionCompatibility::SameMachine, and is not used by the loader. This property is reserved for a future feature.

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