DLL Hell problem in .NET
How's the DLL Hell problem solved in .NET?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 26, 2012, 7:44 PM EST
The dll hell problem is solved in .NET by signing the shared assemblies with strong name.
Please refer the below link
http://venkataspinterview.blogspot.com/2011/06/how-is-dll-hell-problem-solved-in-net.html
Thanks
Ajitender VijayRank #6,843 · 255 reputationPosted Jan 26, 2012, 7:47 PM EST
Global assembly Cache (GAC) is a repository for all the .Net components/dll that are shared globally on a particular machine. When a .Net component/dll is installed onto the machine, the Global Assembly Cache looks at its version, its public key, and its language information and creates a strong name for the component/dll. The component/dll is then registered in the GAC and indexed by its strong name, so that even with same name of assembly could be install to GAC that will be having two different versions. Once versioning done with any assembly there will be no chance to conflict, which was earlier happening (DLL HELL).
below links contain great explanation to your question.
http://venkataspinterview.blogspot.com/2011/05/what-is-dll-hell-in-net.html
http://venkataspinterview.blogspot.com/2011/06/how-is-dll-hell-problem-solved-in-net.html
thanks