日期:2014-05-20  浏览次数:21031 次

Sandcastle Help File Builder生成文档出错
-------------------------------
[Sandcastle Help File Builder Utilities, version 1.8.0.3]
Creating output and working folders...
-------------------------------
Clearing working folder...
-------------------------------
Finding tools...
Found Sandcastle tools in 'C:\Program Files\Sandcastle\'
Searching for HTML Help 1 compiler...
Found HTML Help 1 compiler in 'C:\Program Files\HTML Help Workshop\'
-------------------------------
Validating and copying documentation source information
Source: E:\Document\webportal\webpart.sln
  Found project 'E:\Document\webportal\webpart.csproj'

Parsing project files
  Found assembly 'E:\Document\webportal\bin\webpart.dll'
SHFB: Warning BE0007: A project with a higher framework version was found. Changing project FrameworkVersion property from '3.5' to '4.0.30319' for the build

References to use:
  AjaxControlToolkit, Version=1.0.10606.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL
  AutoDropDown
  Microsoft.CSharp
  Microsoft.Office.Interop.Excel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL
  Microsoft.Vbe.Interop, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL
  office, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL
  System
  System.Configuration
  System.Core
  System.Data
  System.Data.DataSetExtensions
  System.Data.Entity
  System.Drawing
  System.EnterpriseServices
  System.Runtime.Serialization
  System.Security
  System.Web
  System.Web.ApplicationServices
  System.Web.DynamicData
  System.Web.Entity
  System.Web.Extensions
  System.Web.Mobile
  System.Web.Services
  System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
  System.Xml
  System.Xml.Linq
  ZymDBConfiguration

Copying XML comments files
  E:\Document\webportal\bin\webpart.XML -> E:\Test\Help\Working\webpart.XML
-------------------------------
Generating shared content files (en-US, 英文 (美國))...
  Last step completed in 00:00:00.0986
-------------------------------
Generating API filter for MRefBuilder...
  Last step completed in 00:00:00.0186
-------------------------------
Generating reflection information...
[C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe]
GenerateRefInfo:
  MrefBuilder (v2.4.10520.1)
  Copyright c Microsoft 2006
  Info: Loaded 1 assemblies for reflection and 21 dependency assemblies.
MREFBUILDER : error : Unresolved assembly reference: System.Web (System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) required by webpart
  Last step completed in 00:00:04.0265
-------------------------------

SHFB: Error BE0043: Unexpected error detected in last build step. See output above for details.

------解决方案--------------------
我也遇到相同的问题了