Diffrence between Assembly And Global Assembly Cache(GAC) [Resolved]

Posted by Rajeshk under Others on 11/9/2012 | Points: 10 | Views : 2007 | Status : [Member] | Replies : 1
Hi all,

I want to Know Difference between Aseembly and Global Assembly cache(GAC) and also Dll and Exe Files Tell me If Anybody know



Posted by: Saratvaddilli on: 11/9/2012 [Member] [MVP] Bronze | Points: 50


The assembly name, the assembly culture, the assembly version, and the assembly public key token. All of those elements are used to make a unique assembly name that can be referenced from the GAC.

Each computer on which the Common Language Runtime is installed has a machine-wide code cache called the 'Global Assembly Cache'. The Global Assembly Cache (GAC) enables you to share assemblies across numerous applications.

The GAC is automatically installed with the .NET runtime. The global assembly cache is located in 'Windows/WinNT' directory and inherits the directory's access control list that administrators have used to protect the folder.

The approach of having a specially controlled central repository addresses the shared library concept and helps to avoid pitfalls of other solutions that lead to drawbacks like DLL hell.

The Global Assembly Cache Tool (Gacutil.exe), that allows you to view and manipulate the contents of the Global Assembly Cache.

Thanks and Regards
Show difficulties that how difficult you are

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response