Visual Studio 2012 error creating a new theme

Topics: Core, Customizing Orchard, General, Troubleshooting, Writing themes
Oct 17, 2013 at 3:28 AM
Hello,
I'm trying to create a new theme from the command line, and at the coomand bellow there's an error, thank you in advance for the help.

orchard> codegen theme CWSTheme

Error executing command "codegen theme CWSTheme"

None of the constructors found with 'Orchard.Environment.AutofacUtil.DynamicProx
y2.ConstructorFinderWrapper' on type 'Orchard.Security.Authorizer' can be invoke
d with the available services and parameters:
Cannot resolve parameter 'Orchard.Security.IAuthorizationService authorizationSe
rvice' of constructor 'Void .ctor(Orchard.Security.IAuthorizationService, Orchar
d.UI.Notify.INotifier, Orchard.IWorkContextAccessor)'.

Exception Details: Autofac.Core.DependencyResolutionException: None of the const
ructors found with 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFin
derWrapper' on type 'Orchard.Security.Authorizer' can be invoked with the availa
ble services and parameters:
Cannot resolve parameter 'Orchard.Security.IAuthorizationService authorizationSe
rvice' of constructor 'Void .ctor(Orchard.Security.IAuthorizationService, Orchar
d.UI.Notify.INotifier, Orchard.IWorkContextAccessor)'.
Marked as answer by manuellt on 10/16/2013 at 7:50 PM