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

How to implement globalization and localization in the use interface in .net.

764


What are query strings used for?

753


Can we create a multiple user simultaneously ?

836


what are configuration files?

768


Is there any limit for query string? Means what is the maximum size?

731


Can any body provide me the sample web application in asp.net

1656


Explain the difference between singleton and single call?

777


How many types of cookies are there in asp.net?

752


How can we Validate a Controls in ASP.NET page using JavaScript?

860


What is inproc and outproc?

776


Why cyclomatic complexity is important?

786


Write the different features of a Thread and a Process?

891


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

773


Explain the basic functionality of garbage collector?

731


How do you remove duplicates without using remove duplicate stage?

821