无法在当地运行果园天蓝色项目ysod新鲜的来源

时间:2013-10-18 06:33:42

标签: azure orchardcms

我正在尝试在本地运行Orchard.Azure.CloudService项目而不对官方稳定版本1.7.1(58c21815)进行任何代码更改。完整的源地址是@ https://git01.codeplex.com/orchard

以下是重现错误的步骤:

  1. 启动Orchard.Azure解决方案
  2. 选择“Debug”build
  3. 点击按F5开始调试
  4. 该页面将在“/'应用程序中显示”服务器错误。“

    可以使用可用的服务和参数调用在'Orchard.Environment.DefaultOrchardShell'类型上找到'Autofac.Core.Activators.Reflection.DefaultConstructorFinder'的构造函数:无法解析参数'Orchard.Mvc.Routes.IRoutePublisher routePublisher'的构造函数'Void .ctor(System.Func 1[Autofac.Features.OwnedInstances.Owned 1 [Orchard.Environment.IOrchardShellEvents]],System.Collections.Generic.IEnumerable 1[Orchard.Mvc.Routes.IRouteProvider], System.Collections.Generic.IEnumerable 1 [Orchard.WebApi.Routes.IHttpRouteProvider], Orchard.Mvc.Routes.IRoutePublisher,System.Collections.Generic.IEnumerable`1 [Orchard.Mvc.ModelBinders.IModelBinderProvider],Orchard.Mvc.ModelBinders.IModelBinderPublisher,Orchard.Tasks.ISweepGenerator)'。 来源错误:

    第111行:var shellScope = _shellContainerFactory.CreateContainer(设置,蓝图);

    第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
    

2 个答案:

答案 0 :(得分:1)

已知问题是解决方案无法在模拟器中运行。这是由解决方案的结构以及模拟器不运行cspack文件引起的。此脚本用于将模块和主题复制到Azure部署的程序包中。当模拟器运行时,只需安装Orchard.Azure.Web项目,该项目几乎为空,并且没有运行解决方案所需的所有文件。

有关详细信息,请参阅CodePlex上的discussion

答案 1 :(得分:0)

我不相信你应该运行那个解决方案,而是主要的Orchard解决方案。

即,您不需要专门为Azure开发,只需为Azure部署。

我认为^ _ ^

相关问题