Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains information about assembly version redirection and the locations of assemblies.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description |
|---|---|
| xmlns | Required attribute. Specifies the XML namespace required for assembly binding. Use the string "urn:schemas-microsoft-com:asm.v1" as the value. |
| appliesTo | Specifies the runtime version the .NET Framework assembly redirection applies to. This optional attribute uses a .NET Framework version number to indicate what version it applies to. If no appliesTo attribute is specified, the element applies to all versions of the .NET Framework. The appliesTo attribute was introduced in .NET Framework version 1.1; it is ignored by .NET Framework version 1.0. This means that all elements are applied when using .NET Framework version 1.0, even if an appliesTo attribute is specified. |
Child Elements
Parent Elements
| Element | Description |
|---|---|
configuration |
The root element in every configuration file used by the common language runtime and .NET Framework applications. |
runtime |
Contains information about assembly binding and garbage collection. |
Example
The following example shows how to redirect one assembly version to another and provide a codebase.
The following example shows how to use the appliesTo attribute to redirect binding of a .NET Framework assembly.