Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2007

Tip: Looking for answers? Try searching our database.

Populate an public assembly in GAC to a file with extension dll

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter - 11 Jul 2007 20:38 GMT
Hi folks,
       Please advise how to  populate an public assembly in GAC onto a file
with file extension dll  in any regular folder for compilation purpose.
Thanks.
PeterK
Alex Meleta - 11 Jul 2007 20:45 GMT
Hi Peter,

<project> => References => <assembly> => copy local ?

Regards, Alex Meleta
[TechBlog] http://devkids.blogspot.com

P> Hi folks,
P> Please advise how to  populate an public assembly in GAC onto
P> a file
P> with file extension dll  in any regular folder for compilation
P> purpose.
P> Thanks.
P> Peter
Peter - 12 Jul 2007 12:36 GMT
Hi Alex,
      Thanks. Please provide more detail steps. My machine is XP, the
folder for GAC is assembly, my assebmly is ClassLibrary1. When I am in the
window explorer, how do I extract the assembly to a local dll for private use.
      Or, you meant to use Visual Studio to do it. Thanks again.
PeterK

> Hi Peter,
>
[quoted text clipped - 10 lines]
> P> Thanks.
> P> PeterK
Alex Meleta - 12 Jul 2007 13:26 GMT
You can use Visual Studio to extract the file from the GAC - you should add
the assembly to the reference list and then set Copy Local property of the
assembly to true - the assembly will be copied to the /Bin folder of the
application.

Or obtain it from the GAC itself (from the <windows_root_dir>/Assembly/GAC/<find_your_assembly_by_name>
to where you need)

PS. Just be aware of using strong named assemblies outside of the GAC - versioning
works differently because the versioning requirements are different outside
of GAC.

Regards, Alex Meleta
[TechBlog] http://devkids.blogspot.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.