![]() This prevents an application or component from binding to an invalid version of an assembly. Side-by-side execution uses strong-named assemblies to bind type information to a specific version of an assembly. NET Framework provide the following features to eliminate DLL conflicts: As a result, a new version of a component could overwrite an older version and break applications. An application had no way of knowing if the types contained in a DLL were the same types that the application was built with. Type information contained in a DLL was bound only to a file name. ![]() NET Framework, DLL conflicts occurred because applications were unable to distinguish between incompatible versions of the same code. ![]() Side-by-side execution gives you more control over which versions of a component an application binds to, and more control over which version of the runtime an application uses. Application A and B use version 1.0 of the component while Application C uses version 2.0 of the same component. The following illustration shows several applications using two different versions of a component on the same computer. ![]() For example, version 4.0 of the runtime is actually version 4.0.319, while version 1.0 of the. NET Framework assemblies are versioned separately. NET Framework consists of the common language runtime and a collection of assemblies that contain the API types. Applications A, B, and C use runtime version 1.0, while application D uses runtime version 1.1. The following illustration shows several applications using two different versions of the runtime on the same computer. You can have multiple versions of the common language runtime, and multiple versions of applications and components that use a version of the runtime, on the same computer at the same time. Side-by-side execution is the ability to run multiple versions of an application or component on the same computer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |