Aug 2, 2011 at 3:02 PM
Edited Aug 2, 2011 at 3:13 PM
I'm trying to add a dependency to Orchard.Blogs and it causes my module to not be loaded into the ~/app_data/dependencies/dependencies.xml list.
In my module in VS I made a reference to the dll at ~/Modules/Orchard.Blogs/bin/Orchard.Blogs.dll. On my development machine it seems to work fine. When I publish to the live machine, it acts funny.
If I have a copy of Orchard.Blogs.dll at ~/Modules/MyModule/bin/Orchard.Blogs.dll (copy local set to true), the module is not loaded up at all (it's not in the ~/app_data/dependencies/dependencies.xml list).
If I remove the Orchard.Blogs.dll from my module's bin (copy local set to false), MyModule is loaded into the dependencies.xml file but gives me YSOD when I try to invoke a controller in the module: Could not load file or assembly 'Orchard.Blogs, Version=126.96.36.199,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
If I remove the reference to Orchard.Blogs completely, and remove Orchard.Blogs.dll from my module's bin, the controller runs fine.
Am I going about this dependency stuff the wrong way? Is there any other information that could help me troubleshoot this?
Author: Web Station, Inc
Description: Module specific to my website
Description: My Module.
Category: Web Station