Scenario: We perform SharePoint development in the customer's VM environment. Due to permission restrictions (the IE settings cannot be modified ), in many cases, apart from executing applications (IE, VS2010, cmd windows, and PowerShell command windows integrated with SharePoint) as Administrator, we may need to copy GAC dll files, what should we do?
The following example describes how to copy the Common. dll of the HR system from the GAC to the D disk.
Ps c: \> cd. \ Windows
Ps c: \ Windows> cd. \ assembly
Ps c: \ Windows \ assembly> cd. \ GAC_MSIL
Ps c: \ Windows \ assembly \ GAC_MSIL> cd. \ LJ. SharePoint. HR. Common
Note: You can view the dll file in sequence by pressing the next or last key on the keyboard.
Ps c: \ Windows \ assembly \ GAC_MSIL \ LJ. SharePoint. HR. Common> cd. \ 1.0.0.0 _ 652eb99
08dcf33c9
Ps c: \ Windows \ assembly \ GAC_MSIL \ LJ. SharePoint. HR. Common \ 1.0.0.0 _ 652eb9908dcf3
3c9> dir
Directory: C: \ Windows \ assembly \ GAC_MSIL \ LJ. SharePoint. HR. Common \ 1.0.0.0 __
652eb9908dcf33c9
Mode LastWriteTime Length Name
---------------------------
-A --- 25/08/2011 140800 LJ. SharePoint. HR. Common. dll
Ps c: \ Windows \ assembly \ GAC_MSIL \ LJ. SharePoint. HR. Common \ 1.0.0.0 _ 652eb9908dcf3
3c9> copy *. dll d :\
Author: MingleLui
Source: http://mingle.cnblogs.com/
Scenario: We perform SharePoint development in the customer's VM environment. Due to permission restrictions (the IE settings cannot be modified ), in many cases, apart from executing applications (IE, VS2010, cmd windows, and PowerShell command windows integrated with SharePoint) as Administrator, we may need to copy GAC dll files, what should we do?
The following example describes how to copy the Common. dll of the HR system from the GAC to the D disk.
Ps c: \> cd. \ Windows
Ps c: \ Windows> cd. \ assembly
Ps c: \ Windows \ assembly> cd. \ GAC_MSIL
Ps c: \ Windows \ assembly \ GAC_MSIL> cd. \ LJ. SharePoint. HR. Common
Note: You can view the dll file in sequence by pressing the next or last key on the keyboard.
Ps c: \ Windows \ assembly \ GAC_MSIL \ LJ. SharePoint. HR. Common> cd. \ 1.0.0.0 _ 652eb99
08dcf33c9
Ps c: \ Windows \ assembly \ GAC_MSIL \ LJ. SharePoint. HR. Common \ 1.0.0.0 _ 652eb9908dcf3
3c9> dir
Directory: C: \ Windows \ assembly \ GAC_MSIL \ LJ. SharePoint. HR. Common \ 1.0.0.0 __
652eb9908dcf33c9
Mode LastWriteTime Length Name
---------------------------
-A --- 25/08/2011 140800 LJ. SharePoint. HR. Common. dll
Ps c: \ Windows \ assembly \ GAC_MSIL \ LJ. SharePoint. HR. Common \ 1.0.0.0 _ 652eb9908dcf3
3c9> copy *. dll d :\
Author: MingleLui
Source: http://mingle.cnblogs.com/