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

G

Guest

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
 
A

Alex Meleta

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
 
G

Guest

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
 
A

Alex Meleta

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top