Does the GAC hold copies the actual assembly dll files?

Does the GAC hold copies the actual physical assembly dll files or GAC just holds reference to assembly files? or
Is it that the CODEBASE points to the actual physical file?
LVL 1
thermalsunAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kyle AbrahamsSenior .Net DeveloperCommented:
Holds the copy of the actual DLLs.

You need to overwrite them when you have a new version.
0
Kyle AbrahamsSenior .Net DeveloperCommented:
FYI: Directory is %windir%\assembly
0
thermalsunAuthor Commented:
if it holds the actual copy then why does codebase saves location from where the actual file was dragged and dropped in assembly folder?
0
Mohamed OsamaSenior IT ConsultantCommented:
GAC does hold actual copies of the file, but they are not directly accessible from Windows explorer.
when you drag / drop an assembly to assembly folder , you are just registering it in the GAC not copying it to the root of C:\windows\assembly .
.NET preserves a particular folder structure that is used by the .NET runtime & also to avoid direct tampering with assemblies for security purpoes.
try browsing C:\windows\assembly through CMD to see the structure for yourself


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mohamed OsamaSenior IT ConsultantCommented:
The Wikipedia link below ihas explained it better.
http://en.wikipedia.org/wiki/Global_Assembly_Cache
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Anti-Virus Apps

From novice to tech pro — start learning today.