Every one who has ever developed a .NET project would know how to get to the GAC simply by: Start -> Run -> C:\windows\assembly\

But what most people don’t know is how to get to the internal folders with ease, there are a number of ways and the one stated below works well for copying config \ resource files next to the actual Dlls.

First Method:

Start -> Run -> C:\windows\assembly\gac_msil

This should bring up the internal folders in the Global Assembly Cache and you can easily drag drop items in there.

Second Method :

In .net application we need to have a copy of a dll which is available in GAC. But when we view the GAC through C:\Windows\assembly folder it will show like this



Using this we cannot copy the dll. Only uninstall option is available.

To view the available dll using the naked eye follow the steps

Dot net have a dll file Shfusion.dll which is a Assembly Cache Viewer. It is located in the following path.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\shfusion.dll

1.uninstall the dll using the following command in the run dialog box.
regsvr32 -u C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\shfusion.dll

1.Now type assembly in the Run dialog box.
2.Now you will see the folder view of the GAC. copy the dll you want.



Note:

To get back to the previous state of view register the Shfusion dll using the following command

regsvr32 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\shfusion.dll

Category : | Read More......