Tuesday, February 12, 2013

Getting to see the GAC files

This information comes form this entry.

Inside Visual Studio when I looked at one of my references it was stored in a folder named:
C:\Windows\Assembly\GAC_MSIL\...

But when I tried to navigate to such folder I could not reach it. It told me it does not exist.

Manually navigating to the folder made me even more puzzled. The C:\Windows\Assembly had no folders.

As it turned out I was looking at it using the "CacheViewer" which seems pretty useless. Specially that I could not copy anything out of it, and had no Right-Click actions.

I did the following to correct the issue with the help of the article mentioned above:

1 - Opened my Run command (Windows Key + R)
2 - Typed 'regedit' (without the quotes) 
3 - Pressed enter
4 - Navigated to HKEY_LOCAL_MACHINE\Software\Microsoft\Fusion



5 - Looked for "DisableCacheViewer"
6 - If one is not found right-click on the right pane and select 'New -> DWORD (32-bit) value'

7 - On the new field type in 'DisableCacheViewer'
8 - Double-Click on the entry and type a 1 on the 'Value data:' field

9 - You should be able to go to the C:\Windows\Assembly and see the GAC folders.

God bless,
Bruno

No comments:

Post a Comment

Kitematic - Self Signed Certificate In Certificate Chain

Found this issue while behind a enterprise proxy. Proxy uses self signed certificate. Windows has the certificate as trusted, docker works f...