2013-12-18 2 views
0

dnn과 빌드 후 해당 모듈의 릴리스를 만들기 위해 cristoc에 "Module Example"이라는 모듈을 생성했습니다. 그것은 아래에 나에게 오류를 보여줍니다.dnn에 (404) 오류가 없습니다.

Error 2 The "MSBuild.Community.Tasks.XmlRead" task could not be loaded from the assembly C:\inetpub\wwwroot\websites\dnndev.me\DesktopModules\Module Example\\packages\MSBuildTasks.1.4.0.61\tools\MSBuild.Community.Tasks.dll. Could not load file or assembly 'file:///C:\inetpub\wwwroot\websites\dnndev.me\DesktopModules\Module Example\packages\MSBuildTasks.1.4.0.61\tools\MSBuild.Community.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. 

은 그 때 나는 "설치 패키지 Newtonsoft.Json"을 "packages.config를 설치 nuget"와 같은 설치 약간의 덩어리를 시도해야합니다. 두 너겟을 모두 설치 한 후 빌드를 클릭하고이 모듈을 릴리스하고 릴리스가 C:\inetpub\wwwroot\websites\dnndev.me\DesktopModules\Module Example\install에 성공적으로 생성되고 릴리스 이름이 Module_Example_00.00.01_Source이면 zip 폴더입니다. dnn 환경에이 모듈을 설치하기 위해 dnn 사이트 "dnndev.me"를 열고 호스트에 마우스를 올려 놓은 다음 확장 프로그램을 클릭 한 다음 확장 프로그램 설치 버튼을 클릭하고 폴더 위치를 찾아 클릭합니다. "다음"버튼을 클릭하십시오. 그러나이 모듈을 설치하면 오류가 발생합니다.

Failure  File specified in the dnn could not be found in the zip file: - C:\inetpub\wwwroot\websites\dnndev.me\Install\Temp\1cjkvd5v\bin\Module_Example.dll 

그리고 내 DNN 환경에서 Not found(404) 오류가 발생합니다. 왜? 나는 무슨 일이 일어나는 지 이해하지 못한다. 친절하게 대답을 기다리는 것이 좋습니다. 감사합니다

답변

0

나는 그 구성 요소를 모르지만 생성 된 패키지는 여러분이 기다리고있는 릴리스 패키지의 소스 패키지라고 생각합니다. 그런 다음 생성 된 해당 어셈블리가 없을 것입니다. "Module_Example.dll"이 있는지 확인하기 위해 zip을 열 것을 제안합니다. 이 dll이 개발 환경에 있습니까? ascx가 "codebehind"또는 "codefile"을 사용합니까? 코드 파일 모드를 사용하면 dll하지만 소스 파일 (vb.net ou C#)을 업로드 할 필요가 없습니다. 도움이 되었기를 바랍니다.

관련 문제