versioned assembly questions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I have 2 questions maybe someone can help me
1. why a versioned assembly has to be in GAC and have a strong-named
2. why an assembly in GAC has to be strong-named
In many books and articles, they show how to do it, but they don't explain why it has to be done that way
I want to understand the reasonings behind it
Thanks
Ben
 
Ben

The reason you must have a strong name is to avoid many of the problems that were found with the shared dll scheme of pre-win2k dll registry

When an assembly is added to the GAC it is given a strong name so that if you install a newer version of that assembly later, application that are using the old one will not break. This allows multiple versions of the same assembly to be installed side-by-side without risking damaging existing functionality

Hope this helps
-Clay
 
Back
Top