Copy the DLL file in your GAC

Source: Internet
Author: User
In the morning, I discussed with my colleagues how to copy the deployed DLL files from GAC. In addition to the familiar command line copy method, I also got a WinRAR software copy method. Here are two simple methods:

Method 1: copy a command line.

Start -- run -- cmd -- "CDC: \ windows \ assembly ". Generally, the self-developed DLL files are under the gac_msil folder. You can copy the required DLL files as follows.

 

Method 2: Use WinRAR

Open the WinRAR tool andEnter the c: \ windows \ Assembly address in the address bar, as shown in. The file structure in GAC is listed in detail in WinRAR.

 

Go to the gac_msil folder,

 

In this example, you can copy it directly by using "Ctrl + C" (right-click and do not copy this option) and paste it to your computer. OK!

Method 3:

When some programs are installed on the machine, the DLL in assembly will become more and more abundant.

       Let's take a look at the FAQ.

       After reportviewer is installed, the following dll will appear.

       Microsoft. reportviewer. processingobjectmodel. dll

       Microsoft. reportviewer. winforms. dll

       Microsoft. reportviewer. Common. dll

       The following two files can be found in the vs installation directory, but Microsoft. reportviewer. processingobjectmodel. dll cannot be searched in any way, and the entire hard disk cannot be searched.

       Then, run the following command:

       Subst B: % WinDir % \ assembly

       After the execution, you will find that the hard disk partition has multiple B disks. After opening the disk, you will see all the DLL files under the assembly, so Microsoft is found here. reportviewer. processingobjectmodel. DLL.

       Then, the virtual B partition is no longer needed, so execute the following command to delete it:

       Subst B:/d

       As long as the DLL is installed on this machine or can be seen in the assembly, you can use the above method.

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.