2015-02-17 4 views
3

Я хочу создать документацию из XML-комментариев visual studio с помощью Sandbule Help File Builder. Мой проект разработан с .Net 3.5 и его библиотекой классов для Unity3d. Когда я пытаюсь построить документацию в Sandcastle все время Sandcastle вернуть эту ошибку:Неразрешенная ссылка на сборку: UnityEngine Sandcastle

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()

Как я могу исправить?

ответ

2

Как говорится в ошибке, он не знает об UnityEngine. Поэтому вам нужно добавить это как ссылку. FAQ для 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 и добавить его в качестве ссылки. Вы должны быть добры, чтобы идти оттуда, запрещая любые другие недостающие ссылки.