Level255

Hello,

I can copy assembly to local by change "Copy Local" to "true".

and assembly will be copy to output directory (same path with my exe).

Have a way to put my assembly to another path such as "lib" and my app still

find this assembly.

regards,



Re: Visual C# General About copy assembly to local

Peter Ritchie

You can either change the output directory or add a post-build event handler to copy the file to another directory.




Re: Visual C# General About copy assembly to local

boban.s

Yes, if only that 'lib' folder is placed under the application folder. There is no way to use directly that assembly from folder out of main application folder (if we don't count Assembly.Load or Activator.CreateInstanceFrom). But this require additional configuration to work.
Maybe you should describe the problem a litle further, or tell us the reason why do you need that.




Re: Visual C# General About copy assembly to local

Level255

Nothing important, just need to reorganize all assembly into lib folder.

Thank you