Search code examples
classdllgacreflector

How can I extract dll from GAC and view the codes in dll?


My VPC crashed and I lost 1 of my project's solutions,

the only latest copy is in the Global Assembly Cached(GAC) which I deployed.

Can anyone show me how to extract the dll from GAC by cmd prompt?

and how do I open the dll to view the code? if not mistaken can use a software called Reflector.

Please help.

Thank in advanced.


Solution

  • I'm glad you managed to sort it out but I'd suggest that loading the assembly directly from the GAC from within Reflector is the easiest solution. You can do this via File > Open Global Assembly Cache.

    Once you've loaded the assembly you can go ahead and export the code.