This project is read-only.

0.9.253 - "Command codegen doesn't exist"?

Jan 2, 2011 at 11:18 AM


I'm trying Orchard out for a simple blog. Using 0.9.253 in IIS locally on Win7. I'm trying to create a new theme as described here:

When I run:

codegen theme MyTheme /BasedOn:TheThemeMachine

from the Orchard command-line utility I get a message that says:

Error executing command "codegen theme MyTheme"

When I run:

help codegen

I get a message that says:

Command codegen doesn't exist

Any clues as to what's wrong here? I've enabled packaging in the "Manage Features" area of the dashboard.

Many thanks...


Jan 2, 2011 at 12:57 PM

Hello, you need to first enable codegen feature.
Run: feature enable Orchard.CodeGeneration

Jan 2, 2011 at 3:53 PM


Thanks Lisaj - that makes perfect sense of course!



Jan 2, 2011 at 6:55 PM

You also need to install it from the gallery.