locked
about dll path RRS feed

  • Question

  • hello,

         my application use some dll as plugin,and some dll as common library,I hope put them into different path as follow:

     

         application path\

                                 \plugin\

                                 \common\

       how can i do?

       thanks

    Tuesday, April 8, 2008 11:12 PM

Answers

All replies

  • Hi,

     

    Are you talking about unmanaged dlls or assemblies?

    If you want to keep unmanaged dlls in two subfolders, then you need to use c++/CLI and dynamically resolve paths.

    If you mean assemblies, then all you need is to specify assemblyBinding element in your application configuration file.

     

    Wednesday, April 9, 2008 7:43 AM
  • thank you for your answer.

    i mean assembly,and i use addprivatepath by code,but it didn't  work

    how can it work?

    Wednesday, April 9, 2008 8:27 AM
  • Wednesday, April 9, 2008 8:51 AM