Reputation: 36563
I have a custom Orchard module. It's not loading. I don't see it getting copied to App_Data\Dependencies or added to dependencies.xml.
It does show up in the Modules section of the Dashboard (where I have enabled it).
I don't see any errors in the Orchard error logs.
I have attached to the Orchard w3wp, but my dlls in the module's bin directory aren't getting loaded into the AppDoamin at all.
How can I troubleshoot this further?
Thank you.
UPDATE:
module.txt is below
Name: MyApp
Path: App
AntiForgery: disabled
Author: Me
Website: http://www.myapp.com
Version: 1.0.0
OrchardVersion: 1.6.0
Description: Module for Orchard
Category: Content
Dependencies:
This file is located in Modules\MyApp.
The dll in question is in Modules\MyApp\bin\MyApp.Web.dll.
Upvotes: 2
Views: 1494
Reputation: 36563
It seems that Orchard does some funny name matching on module names and it's components.
I have the following scenario:
Module.txt says name is MyApp
Module lives in Modules/MyApp
Website dll is MyApp.Web.dll. Class library is MyApp.dll.
Orchard decides to ignore my module.
If I change the Module.txt to say MyApp.Web, no change. If I ALSO change the virtual directory to be MyApp.Web, Orchard loads my module.
Upvotes: 1
Reputation: 17814
If you have verified that the manifest is there and is valid, it's almost certainly not compiling. Try to open the solution from Visual Studio and build it from there. You should see build errors.
Upvotes: 0