我有一个travis CI工作流程设置来构建一个sandcastle项目。运行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
答案 0 :(得分:1)
Sandcastle专为Windows设计。您必须将AppVeyor与Windows VM一起使用。
微软在GitHub上还有一个名为docfx的新工具,它可以在Linux上运行。