未解决的程序集参考:UnityEngine Sandcastle
Unresolved assembly reference: UnityEngine Sandcastle
我想使用 Sandcastle Help File Builder 根据 visual studio xml 评论创建文档。
我的项目是使用 .Net 3.5 及其用于 Unity3d 的 class 库开发的。
当我一直尝试在 Sandcastle 中构建文档时,Sandcastle return 此错误:
MRefBuilder : error : Unresolved assembly reference: UnityEngine (UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null) required by FBCross [C:\Users\Ersin\Desktop\Test\gg\Help\Working\GenerateRefInfo.proj]
SHFB: Error BE0043: Unexpected error detected in last build step. See
output above for details. at
SandcastleBuilder.Utils.BuildEngine.BuildProcess.RunProcess(String
fileToRun, String args) at
SandcastleBuilder.Utils.BuildEngine.BuildProcess.Build()
我该如何解决?
如错误所述,它不知道 UnityEngine。所以你需要添加它作为参考。 Sandcastle 的常见问题 contains a section on this:
Why does my build fail with an Unresolved assembly reference error?
If the build fails in the Generating reflection information
step with an error that starts "Error: Unresolved assembly reference",
you need to add the named assembly as a reference. This is done by
adding a reference to it to the References node in the Project
Explorer window.
因此找到 UnityEngine.dll 并将其添加为参考。你应该从那里开始,除非有任何其他遗漏的参考资料。
我想使用 Sandcastle Help File Builder 根据 visual studio xml 评论创建文档。 我的项目是使用 .Net 3.5 及其用于 Unity3d 的 class 库开发的。 当我一直尝试在 Sandcastle 中构建文档时,Sandcastle return 此错误:
MRefBuilder : error : Unresolved assembly reference: UnityEngine (UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null) required by FBCross [C:\Users\Ersin\Desktop\Test\gg\Help\Working\GenerateRefInfo.proj]
SHFB: Error BE0043: Unexpected error detected in last build step. See output above for details. at SandcastleBuilder.Utils.BuildEngine.BuildProcess.RunProcess(String fileToRun, String args) at SandcastleBuilder.Utils.BuildEngine.BuildProcess.Build()
我该如何解决?
如错误所述,它不知道 UnityEngine。所以你需要添加它作为参考。 Sandcastle 的常见问题 contains a section on this:
Why does my build fail with an Unresolved assembly reference error?
If the build fails in the Generating reflection information step with an error that starts "Error: Unresolved assembly reference", you need to add the named assembly as a reference. This is done by adding a reference to it to the References node in the Project Explorer window.
因此找到 UnityEngine.dll 并将其添加为参考。你应该从那里开始,除非有任何其他遗漏的参考资料。