Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

what is DLL Hell and how it is solved in .NET?

Answer Posted / vimal victor

DLL Hell :- This is a problem in loading a specific dll
(class id, version number, path etc). For example, if I
build test.dll v1.0.0.0 and deploying it in c:\MyProg. My
application App1 and App2 are using the methods in that
dll. And there is a requirement to change something in App1
and I supposed to change test.dll also for the same
requirement. Once I finished with all my changes, I will be
deploying them in the appropriate locations. Now, the older
dll will be overwritten. And my App2 will look for test.dll
of older version and since it is not there it will not
work. This is a scenario for dll hell issue.

.NET and dll hell:- .NET has a provision to specify whether
a 'Specific Version' to be loaded or not. If you check with
any dll's propery window, that has a property called
Specific Version. By default it will be false for the dll's
created by users. It means whether the specific version
alone has to be loaded for that project. If that is false,
then te runtime will load any available higher version of
dll for that project. Thus this issue has been sorted out.

Is This Answer Correct ?    67 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a postback url?

171


How can you pass multiple complex types in Web API?

210


How you can add an event handler?

208


What is session mode in asp.net?

174


What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc

188






How to create events for a control?

200


How would you get asp.net running in apache web servers?

192


What is the meaning of TestApi?

214


Explain the use of view state?

205


Elaborate differentiation between Cache and Application?

219


Differentiate between namespace and assembly.

204


Define asp.net caching?

194


How does asp.net work?

184


Can you use Web API with ASP.NET Web Form?

234


How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?

197