gpt4 book ai didi

compact-framework - 处理SandcaSTLe和Compact Framework项目

转载 作者:行者123 更新时间:2023-12-03 13:39:30 28 4
gpt4 key购买 nike

我有一套.Net Compact Framework 3.5,这些项目已包含在SandcaSTLe项目中。
在VS 2008中,编译失败并显示以下日志(PATH是解决方案的路径):

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\Microsoft.NET\Framework64\v3.5\Microsoft.CompactFramework.CSharp.targets。”

我已经安装了.Net CF电动玩具,并且在32位版本的框架中拥有该文件。如何告诉SandCaSTLe使用32位版本???

最佳答案

您应该告诉使用X86 Build平台。如果是自动的,它将在Framework64目录中搜索。查看此博客文章是否有帮助:http://www.simonrhart.com/2010/06/automating-your-windows-mobile-6x.html

它与TFS Build有关,但MSBUILD平台应为X86而不是Auto。希望这可以帮助您找到解决方案。

关于compact-framework - 处理SandcaSTLe和Compact Framework项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8503808/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com