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

a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?

1803


Fetch one page value to another page without using state-managment ?

705


What is preprocessor in .net? Where it use?

725


What is the difference between ASP Session State and ASP.Net Session State?

803


What does postback mean?

753


What is a session in programming?

756


Explain how does asp page work?

775


I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?

1678


Why is global asax is used?

807


Explain Features in ASP.NET

779


How are sessions stored?

753


Name the namespace which is used by ado.net?

720


How do you hide the columns?

787


Explain the difference between web user control and web custom control?

738


Where is session data stored in asp net?

708