2011-12-14 3 views
2

Sandcastle 프로젝트에 포함 된 .Net Compact Framework, 3.5 프로젝트 세트가 있습니다. 는 VS 2008 년 컴파일 (PATH는 솔루션의 경로입니다)이 로그와 함께 실패Sandcastle 및 Compact Framework 프로젝트 작업

Step 1 of 12: Change Directory 

Changing current directory from "PATH\Documentation\Help\" to "PATH\Documentation\buildhelp" 

Step 1 Time Elapsed: 00:00:00.0156256 

Step 2 of 12: Execute MRefBuilder 

C:\Program Files (x86)\Sandcastle\ProductionTools\MRefBuilder /config:"PATH\Documentation\Help\Presentation\Style\Configuration\MRefBuilder.config" /out:reflection.org /internal- /dep:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll","C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll","C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll","C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll","C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll","C:\Windows\assembly\GAC_MSIL\System.Data.SqlXml\2.0.0.0__b77a5c561934e089\System.Data.SqlXml.dll","C:\Windows\assembly\GAC_MSIL\System.Security\2.0.0.0__b03f5f7f11d50a3a\System.Security.dll","C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll","C:\Windows\assembly\GAC_MSIL\Accessibility\2.0.0.0__b03f5f7f11d50a3a\Accessibility.dll","C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization.Formatters.Soap\2.0.0.0__b03f5f7f11d50a3a\System.Runtime.Serialization.Formatters.Soap.dll","C:\Windows\assembly\GAC_MSIL\System.Deployment\2.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" "PATH\DesktopTestsLauncher\bin\Debug\DesktopTestsLauncher.exe" "PATH\HSNDemo\bin\Release\HSNDemo.exe" "PATH\HSN_Coordinator Bluetooth IMAGE\BTWrapper\bin\Release\BTWrapper.dll" "PATH\HSN_Coordinator Bluetooth IMAGE\HSN_Coordinator\bin\Release\HSN_Coordinator.dll" "PATH\PortableStationLibrary\bin\PDA\PortableStationLibrary.dll" "PATH\PortableStationTests\bin\Debug\PortableStationTests.exe" "PATH\PortableStation\bin\Debug\PortableStation.exe" 

MrefBuilder (v2.6.10621.1) 
Copyright ¸ Microsoft 2006 
Error: A file access error occured while attempting to load the addin assembly 'PATH\Documentation\Help\Presentation\Style\Configuration\MRefBuilder.exe'. The error message is: No se puede cargar el archivo o ensamblado 'file:///PATH\Documentation\Help\Presentation\Style\Configuration\MRefBuilder.exe' ni una de sus dependencias. El sistema no puede encontrar el archivo especificado. 
Non-zero exit code: 1 

Step 2 DaveSexton.DocProject.Engine.ExternalProcessException: Execute MRefBuilder: 
The "C:\Program Files (x86)\Sandcastle\ProductionTools\MRefBuilder" process failed with exit code: 1. 

Successful Steps: 1 of 12 
Failed Steps: 1 

Documentation help build failed. 

나는 DocProject 외부 UI를 사용하는 경우 나는이 메시지가 : "가져온 프로젝트 C : \ WINDOWS \ 마이크로 소프트. NET \ Framework64 \ v3.5 \ Microsoft.CompactFramework.CSharp.targets를 찾을 수 없습니다. "

.Net CF 전원 장난감을 설치했으며 해당 파일을 프레임 워크의 32 비트 버전에서 가지고 있습니다. 어떻게 32 비트 버전을 사용하도록 SandCastle에 말합니까 ???

답변

2

X86 빌드 플랫폼을 사용해야합니다. 자동이면 Framework64 디렉토리에서 검색합니다. 이 블로그 게시물의 도움 여부보기 : http://www.simonrhart.com/2010/06/automating-your-windows-mobile-6x.html

TFS 빌드와 관련이 있지만 MSBUILD 플랫폼은 Auto가 아니고 X86이어야합니다. 희망이 솔루션을 찾는 데 도움이됩니다.