2013-10-18 2 views
1

Orchard.Azure.CloudService 프로젝트를 공식 stable 릴리스 1.7.1 (58c21815)로 코드를 변경하지 않고 로컬로 실행하려고합니다. 전체 소스 주소는 @https://git01.codeplex.com/orchard입니다.로컬로 실행할 수 없습니다 orchard azure project ysod off off

  1. 출시
  2. 은 "디버그"를 선택 Orchard.Azure 솔루션은 F5 키를 눌러에
  3. 클릭이 페이지가 표시됩니다
  4. 디버깅을 시작 구축 : 여기

    는 오류를 재현하는 단계입니다 " '/'응용 프로그램의 서버 오류."

    'Orchard.Environment.DefaultOrchardShell'유형의 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder'에서 발견 된 생성자는 사용 가능한 서비스 및 매개 변수로 호출 할 수 없습니다. 'Orchard.Mvc.Routes'매개 변수를 확인할 수 없습니다. 생성자의 IRoutePublisher 경로 게시자 '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.Modc.ModelBinders.IModelBinderProvider], Orchard.Mvc.ModelBinders.IModelBinderPublisher, Orchard.Tasks.ISweepGenerator) '를 참조하십시오. 소스 오류 :

    줄 111 : var shellScope = _shellContainerFactory.CreateContainer (settings, blueprint);

    라인 (112) :

    라인 (113) : 새로운 ShellContext를 반환 {

    라인 (114) : 설정 = 설정,

    라인 (115) : 설명자 = 기술자,

    소스 파일 : C : \ 프로젝트 \ orchard \ src \ Orchard \ Environment \ ShellBuilders \ ShellContextFactory.cs 줄 : 113 `

    ... "

    Windows 8, x64 
    VS2012.3 Azure SDK 2.1 
    source code version hash: 58c21815 
    

답변

0

나는 당신이 그 해결책하지만 주요 오차드 솔루션을 실행해야한다고 생각하지 않습니다.

즉 Azure 용으로 특별히 개발할 필요는 없으며 Azure 용으로 배포하면됩니다.

나는 솔루션은 에뮬레이터에서 실행되지 않을 수있는 알려진 문제입니다^_^

+1

그런 경우 어떻게 Orchard Azure 프로젝트를 디버깅합니까? Azure와 관련된 특정 코드 행이 있기 때문에 디버깅이 가능해야합니다. –

1

생각합니다. 이것은 솔루션의 구조와 에뮬레이터가 cspack 파일을 실행하지 않기 때문에 발생합니다. 이 스크립트는 모듈 및 테마를 Azure 배포 용 패키지로 복사하는 데 사용됩니다. 에뮬레이터를 실행하면 거의 비어있는 Orchard.Azure.Web 프로젝트가 마운트되고 솔루션을 실행하는 데 필요한 모든 파일이 생성되지 않습니다.

자세한 내용은 CodePlex의 discussion을 참조하십시오.