【问题标题】:Generate .NET documentation using Sandcastle HelpFileBuilder on ubuntu using xbuild使用 xbuild 在 ubuntu 上使用 Sandcastle HelpFileBuilder 生成 .NET 文档
【发布时间】:2016-02-02 23:37:07
【问题描述】:

我有一个 travis CI 工作流设置来构建一个沙堡项目。运行 xbuild 时,我收到下面给出的错误。有人可以帮忙吗?

我正在使用 Ubuntu 14.04.3 LTS

$ xbuild SandcastleARM.shfbproj XBuild Engine Version 12.0 Mono, Version 4.0.5.0 Copyright (C) 2005-2013 Various Mono authors Build started 2/2/2016 10:41:37 PM.

Project "/home/travis/build/vivsriaus/ARMDoc/sdk/dotnet/src/ResourceManagement/Resource/Microsoft.Azure.ResourceManager/bin/Debug/dnxcore50/SandcastleARM.shfbproj" (default target(s)): Target CoreBuildHelp: SHFB: warning BHT0001: Unable to get executing project: Unable to obtain matching project from the global collection. The specified project will be loaded but command line property overrides will be ignored. SHFB: error BHT0002: Unable to build project '/home/travis/build/vivsriaus/ARMDoc/sdk/dotnet/src/ResourceManagement/Resource/Microsoft.Azure.ResourceManager/bin/Debug/dnxcore50/SandcastleARM.shfbproj': System.NotImplementedException: The requested feature is not implemented. at Microsoft.Build.Evaluation.Project.SetGlobalProperty (System.String name, System.String escapedValue) [0x00000] in :0 at SandcastleBuilder.Utils.MSBuild.BuildHelp.Execute () [0x00000] in :0 Task "SandcastleBuilder.Utils.MSBuild.BuildHelp" execution -- FAILED Done building target "CoreBuildHelp" in project "/home/travis/build/vivsriaus/ARMDoc/sdk/dotnet/src/ResourceManagement/Resource/Microsoft.Azure.ResourceManager/bin/Debug/dnxcore50/SandcastleARM.shfbproj".-- FAILED Done building project "/home/travis/build/vivsriaus/ARMDoc/sdk/dotnet/src/ResourceManagement/Resource/Microsoft.Azure.ResourceManager/bin/Debug/dnxcore50/SandcastleARM.shfbproj".-- FAILED Build FAILED. Warnings: /home/travis/build/vivsriaus/ARMDoc/sdk/dotnet/src/ResourceManagement/Resource/Microsoft.Azure.ResourceManager/bin/Debug/dnxcore50/SandcastleARM.shfbproj (default targets) -> /home/travis/SandcastleHelpFileBuilder/SandcastleHelpFileBuilder.targets (CoreBuildHelp target) -> SHFB: warning BHT0001: Unable to get executing project: Unable to obtain matching project from the global collection. The specified project will be loaded but command line property overrides will be ignored. Errors: /home/travis/build/vivsriaus/ARMDoc/sdk/dotnet/src/ResourceManagement/Resource/Microsoft.Azure.ResourceManager/bin/Debug/dnxcore50/SandcastleARM.shfbproj (default targets) -> /home/travis/SandcastleHelpFileBuilder/SandcastleHelpFileBuilder.targets (CoreBuildHelp target) -> SHFB: error BHT0002: Unable to build project '/home/travis/build/vivsriaus/ARMDoc/sdk/dotnet/src/ResourceManagement/Resource/Microsoft.Azure.ResourceManager/bin/Debug/dnxcore50/SandcastleARM.shfbproj': System.NotImplementedException: The requested feature is not implemented. at Microsoft.Build.Evaluation.Project.SetGlobalProperty (System.String name, System.String escapedValue) [0x00000] in :0 at SandcastleBuilder.Utils.MSBuild.BuildHelp.Execute () [0x00000] in :0 1 Warning(s) 1 Error(s) Time Elapsed 00:00:01.7070770

【问题讨论】:

    标签: .net linux ubuntu sandcastle xbuild


    【解决方案1】:

    Sandcastle 专为 Windows 设计。您必须将 AppVeyor 与 Windows 虚拟机一起使用。

    微软在 GitHub 上还有一个名为 docfx 的新工具,可以在 Linux 上运行。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-09-17
      • 1970-01-01
      • 2011-06-04
      • 1970-01-01
      • 2011-08-07
      • 2014-05-01
      • 2013-02-18
      • 2011-06-22
      相关资源
      最近更新 更多