New installed module does not work! Can't compile new module automatically?

Topics: General
May 2, 2013 at 1:09 PM
Edited May 2, 2013 at 4:36 PM
Hi all :
I installed Orchard 1.6, installed CodeGeneration module and enabled the feature, but when I want to use codegen command in orchard command line, it says "No command found".
I found that there is not a bin folder in folder "Orchard/Modules/Orchard.CodeGeneration/", so i guess that this module was not complied yet, Should I compile myself?
This also happend when I installing some other modules, Should I compile these modules every time?
How can I compile a module without opening the whole orchard project ? Or can I let it compile manually without visual studio?
I'm using WebMatrix 2, and installed CodeGeneration on Gallery.

Thanks in advance.
May 2, 2013 at 1:55 PM
Most possibly the module (and maybe other modules you mentioned too) has no feature enabled. Just type "feature enable Orchard.CodeGeneration". This will enable the Orchard.CodeGeneration feature which happens to be the only feature of the Orchard.CodeGeneration module. After that the codegen command will work.
May 2, 2013 at 4:36 PM
Edited May 2, 2013 at 4:37 PM
Thanks, but I did enable the feature. I even disabled it and enabled again, nothing happend.