How to copy files from GAC

Source: Internet
Author: User

I want to check Microsoft. Sharepoint. Library. dll in Sharepoint, but I found that this file is installed in GAC. How can I get this DLL and disassemble it for fun?

 

The GAC directory is in C: \ WINDOWS \ assembly, which cannot be copied or pasted directly. To get the file out, you need to use the command line.

 

If you use the command line, you will find that the GAC directory structure is different from the one displayed by Windows Explorer.

 

To get the file from GAC, run the following command:

 

C: \ windows \ Assembly \ gac_msil> xcopy *. * c: \ gacdlls \/S/R

 

The Directory of the specific assembly may be different. It may be GAC or gac_32. First find the file you want, and then you may need to copy it from the folder listed above.

 

Use this command to find the files you are interested in.

 

We copied it using this command.

 

Done.

 

Source:

Copying files from the GAC

Http://blogs.inetium.com/blogs/vbullinger/archive/2008/06/04/copying-files-from-the-gac.aspx

How to find a file in MS-DOS.

Http://www.computerhope.com/issues/ch000309.htm

Microsoft DOS find command

Http://www.computerhope.com/findhlp.htm

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.