【发布时间】:2013-10-18 06:33:42
【问题描述】:
我正在尝试在本地运行 Orchard.Azure.CloudService 项目,而不对官方稳定版本 1.7.1 (58c21815) 进行任何代码更改。完整的源地址是@https://git01.codeplex.com/orchard。
以下是重现错误的步骤:
- 启动 Orchard.Azure 解决方案
- 选择“调试”构建
- 点击按F5开始调试
-
页面将显示“'/'应用程序中的服务器错误。”
无法使用可用服务和参数调用类型“Orchard.Environment.DefaultOrchardShell”上的“Autofac.Core.Activators.Reflection.DefaultConstructorFinder”的构造函数:无法解析参数“Orchard.Mvc.Routes.IRoutePublisher”构造函数 'Void .ctor(System.Func
1[Autofac.Features.OwnedInstances.Owned1[Orchard.Environment.IOrchardShellEvents]]、System.Collections.Generic.IEnumerable1[Orchard.Mvc.Routes.IRouteProvider], System.Collections.Generic.IEnumerable1[Orchard.WebApi.Routes.IHttpRouteProvider]、Orchard.Mvc 的 routePublisher'。 Routes.IRoutePublisher、System.Collections.Generic.IEnumerable`1[Orchard.Mvc.ModelBinders.IModelBinderProvider]、Orchard.Mvc.ModelBinders.IModelBinderPublisher、Orchard.Tasks.ISweepGenerator)'。 源错误:第 111 行:var shellScope = _shellContainerFactory.CreateContainer(settings, blueprint);
第 112 行:
第 113 行:返回新的 ShellContext {
第 114 行:设置 = 设置,
第 115 行:描述符 = 描述符,
源文件:c:\projects\orchard\src\Orchard\Environment\ShellBuilders\ShellContextFactory.cs 行:113 `
..."
Windows 8, x64 VS2012.3 Azure SDK 2.1 source code version hash: 58c21815
【问题讨论】:
标签: azure orchardcms