Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Copying Custom Dll's from GAC to Desktop in Share Point

  Asked By: Destiny    Date: Mar 17    Category: Sharepoint    Views: 3346

please share your ideas on how to copy the dll's from
C:\WINNT\ASSEMBLY to our desktop.

I dropped some of the dlls to the Gac(C:\WINNT\ASSEMBLY) and I am
trying to view them in this path windows-->R-->c:\winnt\assemly\gac
... but i am not able to see my custom dll's folder.

please share ways how to copy the dll's from GAC to our desktop.



7 Answers Found

Answer #1    Answered By: Anthony Rutledge     Answered On: Mar 17

Command prompt

For instance, if you wanted System.Xml.Linq.dll ....


Depends on the Processor Architecture of your assemblies on which folder  they're
located in.

Answer #2    Answered By: Heena Nagori     Answered On: Mar 17


Answer #3    Answered By: Aishwarya Karmarkar     Answered On: Mar 17

First, the GAC on a SharePoint server is C:\windows\assembly, not Winnt
\assembly. Second, be aware that copying  the dll's to your desktop
won't make them usable. They wil only run on the server. You can copy
them to your desktop  so that you can reference them in Visual Studio,
but that code can then only be run on the Sharepoint server.

Why do you want to copy  them to your desktop?

Answer #4    Answered By: Janell Camacho     Answered On: Mar 17

Right I was just throwing an example out

Answer #5    Answered By: Julia Washington     Answered On: Mar 17

You can make a substistute to c:\windows\assembly and then use explorer to
explore the gac. Use run->CMD, SUBST z: c:\windows\assembly. Z: now holds a
mapping to the gac  and you can explore it (i believe most of the custom  dll
are in gac_msil

Answer #6    Answered By: Shashwat Takle     Answered On: Mar 17

Follow these steps.
1. Run "cmd".
2. Type "cd\" to go to the root.
3. Then type "CD C:\Windows\Assembly" and enter.
4. Then type "CD GAC_MSIL" and enter.
5. Then type "CD <name of your dll>" and enter
6. Then type "CD <version of your dll>" and enter (eg: "CD" and
enter). In fact, you can use your TAB key to get the details.
7. Once you reach until this, type, "COPY <dll name> <destination path>"
and enter. Thats it. Your dll will be copied to the destination path.

Answer #7    Answered By: Naveed Mazhar     Answered On: Oct 07

I found the below link very useful in getting the copy of dll from gac:


Hope this helps.

Didn't find what you were looking for? Find more on Copying Custom Dll's from GAC to Desktop in Share Point Or get search suggestion and latest updates.