This project is read-only.

Resolve path to 'bin' for a module when executing a command

Topics: General, Writing modules
Sep 4, 2012 at 4:30 PM

From within a command handler (class extending DefaultOrchardCommandHandler) I have a custom.

From that method I need to find out the full path of either my module's bin folder or for example the full path to the root of Orchard.Web (I can construct the rest myself from there)

I need to load a dll in a separate AppDomain and I know that the dll will be in the 'bin' folder of my module so I wan't to load it from there without hard coding a path (not doable when we go live)

Sep 5, 2012 at 7:08 AM
Edited Sep 5, 2012 at 1:26 PM

Anyone have an idea?

edit: Never mind, resolved it myself