Exporting a library from the gac

  • Thread starter Thread starter James
  • Start date Start date
J

James

I want to include a library that is used in the gac as part of the deployed
application folder.
How do I do that(I never used the gac before in such a way, only in a
passive way)?
Regards
James
 
James said:
I want to include a library that is used in the gac as part of the deployed
application folder.
How do I do that(I never used the gac before in such a way, only in a
passive way)?


Well, you can open a command prompt into c:\windows\assembly, do a dir /s
to search for the dll, and then copy it to some "ordinary" folder. However,
depending on what the assembly does, it may not work. For instance, the CAS
permissions may apply some restrictions on the deployment folder which are
not applied on the GAC.

The "right" way to do it is to create a setup program for your
application, and have the Setup deply the aseembly into the GAC at the same
time that it deploys your executable on the destination machine.
 

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

Back
Top