Edit

Share via


AssemblyName.VersionCompatibility Property

Definition

Caution

AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.

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

public:
 property System::Configuration::Assemblies::AssemblyVersionCompatibility VersionCompatibility { System::Configuration::Assemblies::AssemblyVersionCompatibility get(); void set(System::Configuration::Assemblies::AssemblyVersionCompatibility value); };
public System.Configuration.Assemblies.AssemblyVersionCompatibility VersionCompatibility { get; set; }
[System.Obsolete("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public System.Configuration.Assemblies.AssemblyVersionCompatibility VersionCompatibility { get; set; }
member this.VersionCompatibility : System.Configuration.Assemblies.AssemblyVersionCompatibility with get, set
[<System.Obsolete("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.VersionCompatibility : System.Configuration.Assemblies.AssemblyVersionCompatibility with get, set
Public Property VersionCompatibility As AssemblyVersionCompatibility

Property Value

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

Attributes

Remarks

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.

Applies to