[英]Orchard and Visual Studio 2012 command line error
I'm trying to create a new theme in orchard command line but i get an error. 我正在尝试在Orchard命令行中创建一个新主题,但出现错误。 Thank you in advance. 先感谢您。
orchard> codegen theme CWSTheme 果园> codegen主题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)'.
Try: 尝试:
I find this often clears up a lot of errors and is the Orchard equivalent of turning it off and on again. 我发现这通常会清除很多错误,而Orchard等效于将其关闭然后再打开。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.