Module with custom config file

Topics: Writing modules
Apr 16 at 10:29 AM
Hey,

We have a situation where our module is using 3rd party library. That library assembly has its own *.config.

What tricks is needed to get this extra config file to be copied into ~/App_Data/Dependencies folder as that 3rd party assembly is looking for it from that folder ? It doesnt get copied from modules bin-folder as all referenced *.dlls are.

Br,
Kappas
Apr 16 at 11:24 AM
If you mean just for your own site, I would say copy it manually.

If you mean in a modular way, a lot more would be required : what if 2 modules have such a custom config file for example?
Apr 18 at 1:01 PM
I ended up using old school gimmick and get it into right place as embedded resource and extract it to dependencies folder when module is enabled.