Solved

Does the GAC hold copies the actual assembly dll files?

Posted on 2009-07-09
5
397 Views
Last Modified: 2013-12-06
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?
0
Comment
Question by:thermalsun
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 24818174
Holds the copy of the actual DLLs.

You need to overwrite them when you have a new version.
0
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 24818178
FYI: Directory is %windir%\assembly
0
 
LVL 1

Author Comment

by:thermalsun
ID: 24818467
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
 
LVL 23

Accepted Solution

by:
Mohamed Osama earned 250 total points
ID: 24821385
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
 
LVL 23

Expert Comment

by:Mohamed Osama
ID: 24821397
The Wikipedia link below ihas explained it better.
http://en.wikipedia.org/wiki/Global_Assembly_Cache
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSIS GUID Variable 2 58
Convert VB web project to C# 3 67
how to recover files from ransomware ? 6 96
AD Computer Objects in VB .Net 2 21
UPDATE - 6/15/2011 Added support for Release Update 6 Maintenance Patch 2 Point Patch 1 (RU6 MP2 PP1). Fixed a defect in the username field that was hard-coded to look for a specific domain (left over code from testing). This release will be the …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question