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.
 
Back
Top