

Version 9.0 Copyright (c) Microsoft Corporation.


Immediately a helper with all the available flags and their related descriptions will be prompted. To run the tool, open the Developer Command Prompt for Visual Studio as Administrator and execute the command gacutil The Global Assembly Cache tool is a tool automatically installed with Visual Studio which allows a developer to check for assembly existence, view and manipulate the contents of the global assembly cache. The first application stop working properly due to the newer version of SharedAssembly.dll.įigure 1: Example of DLL hell GAC Tool (gacutil.exe).I install a new application which install a new version of SharedAssembly.dll causing the replacement of the existing DLL.On your machine there is an application which use an assembly called SharedAssembly.dll.By strongly name each dynamic link library (.dll), the GAC solved this problem. Since DLLs doesn’t have any built-in mechanism for backwards comparability, this override caused the existing applications that rely on the shared DLL to crash. With COMs, when an application tried to install a DLL which was already stored in the registry, the system let prevail the latest version by overriding the oldest with the newest. What’s DLL Hell?ĭLL Hell refers to a set of problems caused when multiple applications attempt to share a common dynamic link library (DLL). NET architecture which design solves the issue of DLL hell that existed in COM (Component Object Model). NET Framework where strong-named assemblies (their name is composed by: name of assembly, version number, culture and public key token) that are designated to be shared by all the applications executed on a system will be stored. The Global Assembly Cache (GAC) is a local cache maintained by the.
