This project has moved. For the latest updates, please go here.

Error: Unresolved assembly reference

Topics: Developer Forum, User Forum
Feb 5, 2009 at 3:11 PM
So I finally ended up with sandcastle and its help file builder... did read out well... did install propper... looked straight forward.
But trying to generate my first helpfile I received an error:

<buildStep step="GenerateReflectionInfo">
Generating reflection information...
MrefBuilder (v2.4.10520.1)
Copyright &#184; Microsoft 2006
Info: Loaded 1 assemblies for reflection and 0 dependency assemblies.
Error: Unresolved assembly reference: BR.AN.PVIServices (BR.AN.PVIServices, Version=, Culture=neutral, PublicKeyToken=null) required by EVAcomm
    Last step completed in 00:00:00.6875
<buildStep step="Failed">

BUILD FAILED: Unexpected error in last build step.  See output above for details.


WTF? Can anyone give me hint whats to do in this case? Help apreciated!
Feb 5, 2009 at 3:26 PM
You need to add the indicated assembly to the Dependencies property (v1.7.0.0) or the References project node (v1.8.0.0).  This lets the MRefBuilder tool find dependencies that it can't resolve automatically.  See the Getting Started sections in the help file along with the FAQ as they cover most of the basic questions and problems like these.

Just so you know, v1.8.0.0 allows you to add solutions and project files as documentation sources.  That allows the help file builder to figure out what references are needed automatically and pass them on to the Sandcastle tools.  I'll probably be releasing the v1.8.0.1 Beta later today.  The Getting Started info is also more comprehensive in the new help file so you might want to read through them rather than the older version's topics.

Feb 7, 2009 at 10:56 PM
Thanks this helped me out.

I never saw in the Sand Castle Builder GUI the dependencies field. It seems to give you a couple ways to add your file in. One of the is GAC? What is that stand for and what is a GAC .dll?
Feb 7, 2009 at 11:36 PM
GAC = Global Assembly Cache