Can you place two .dll files with the same name in GAC (Global Assembly Cache)?

 Posted by Raja on 5/6/2008 | Category: .NET Framework Interview questions | Views: 17158
Answer:

Yes, provided both have different versions.

GAC is a Folder that contains .dll that have strong name. So we can keep myproject.dll and myproject.dll two files into GAC with different version like 1.0.0.0 and 1.0.0.1


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Rajeev.Shukla on: 11/24/2011 | Points: 10
To solve the Dll Hell Problem , The concept of dll versioning came into light.
To do the same in GAC(Global Assembly Cache), we can put more than one dlls having same name but having
different versions.


Login to post response