View GAC Assembly content in standard folder browsing mode

Source: Internet
Author: User

To get or view the content of copy GAC, I used to access the folder in DOS and run the Copy command.

Today, I accidentally discovered that derik Whittaker introduced this simple method in a previous blog post:

Hacking the GAC, how to enable standard directory browsing

Have you ever wanted to or needed to view the actual contents of the GAC? Not just what is in the GAC, but actually grab the assemblies that are there?

I know I have. You may be asking why did you want to grab an assembly that is in the GAC. 2 reasons:

    1. I wanted to move a copy of The assmebly from one box onto my Dev box.
    2. I wanted to reflect the Assembly to see how it was build to learn something.

Well, fortunately there is a way to do this. It is a pretty simple registry hack that works wonders.

Here is how:

    1. Open regedit
    2. Navigate to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Fusion
    3. Right click in the viewer and add a new binary value
    4. Name your new binary value disablecacheviewer
    5. Double click your new entry and given it a value of 1 with base hexadecimal
    6. Click OK
    7. Navigate to c: \ windows \ assembly
    8. You shoshould see the contents of the folder as sub folders, not the standard GAC Viewer

Hope this helps... I wocould be sure to delete or rename this new value after you are done playing around.

* *** Warning *** any time you modify your registry, you do so at your own risk.

Till next time,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.