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.