English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-12-18 23:57:50 · 3 answers · asked by Saravanan R 1 in Computers & Internet Programming & Design

3 answers

There are many definitions of GAC...check this page http://www.google.co.in/search?num=100&hl=en&safe=off&q=define%3A+gac&meta=

2006-12-19 00:11:49 · answer #1 · answered by Shubho 4 · 0 0

Since this is in the Programming & Design category, and you have other questions about strong naming, I believe the GAC to which you are referring is the Global Assembly Cache.

It's a place on your computer to store assemblies (programs or program libraries) that need to be shared by several applications on your computer. It's a way of dealing with "DLL hell". Before the GAC, all DLLs that needed to be shared were installed in a single folder. The problem was that if a new version of a DLL was released, it usually overwrote the old version of the DLL, sometimes breaking any existing programs the relied on the old version. The GAC solves this by giving each version of an assembly its own unique location in the GAC. So two versions of the same assembly can exist side-by-side; installing a new version of an assembly will not break any existing programs that rely on the old version.

You do not create a GAC. A GAC is created for you when you install the .NET Framework (any version). Programs and program libraries that are written for the .NET Framework can be installed into the GAC. See the final link in the sources section for how to install a program into the GAC.

2006-12-19 12:48:01 · answer #2 · answered by Randolpho 1 · 0 0

GAC is General Assembly Cache .
In .Net all .dll(in .NET it is called as Assemblies) are stored in central location called as GAC.This location stores dll(asemblies) in special folder , the name of folder is depend upon
assembly version and Strong Name. So if there is more than one version of dll it will store in different folder.
For adding assemblies into GAC we can use following commands
gacutil -i YourDllName.dll -- For installation
gacutil -u YourDllName -- For Uninstallation.

We can also drag and drop assemblies in C:\Windows\Assembly folder.

2006-12-20 01:20:55 · answer #3 · answered by Sachin T 2 · 0 0

fedest.com, questions and answers