Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey guys,

I am creating some dll files.Is there any way so that while installing my application using that dll in clients end so that dll are located in a different directory and dll can be referenced from that directory.
Posted
Updated 23-Nov-10 22:17pm
v2

Hi Golam,

you can always choose to load a library dynamically
via Assembly myAssebmly = Assembly.LoadFile("path to assembly file here");

Here a link on CP: http://www.codeproject.com/KB/cs/DynLoadClassInvokeMethod.aspx

that has some useful information.

Cheers

Manfred
 
Share this answer
 
Comments
Dalek Dave 24-Nov-10 5:05am    
Good Call.
Well, as long as the DLL's are placed in GAC (Global Assembly Cache - a different folder than you application one), they can be referenced.

All, you need is to give strong name to your D:: such that they can be placed in GAC.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900