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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Mohamed OsamaConnect With a Mentor Senior 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
 
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:
The Wikipedia link below ihas explained it better.
http://en.wikipedia.org/wiki/Global_Assembly_Cache
0
All Courses

From novice to tech pro — start learning today.