Unresolved assembly reference error in SandCastleHelpfileBuilder 1.8.0.3

Jun 14, 2010 at 1:26 PM

hi,

I am getting the Unresolved assembly reference error for my reference dll.  My documentation source dll and the reference dll are in different location.

Eg. documentaion source in D:\Helpfile\My.Dll

Reference dll : E:\MyReff\Ref.dll. . For the reference dll, i have created an environmemtal varibale and i use that environmental variable in the .shfb project. Below are the sample entries in the .shfb project.

DocumentationSources>
      <DocumentationSource sourceFile="D:\Helpfile\My.Dll" />
       <DocumentationSource sourceFile=" D:\Helpfile\My.xml"/>
</DocumentationSources>

<ItemGroup>
    <Reference Include="Ref">
      <HintPath>%MyEnvVariable%\Ref.dll</HintPath>
    </Reference></ItemGroup>

in the above case i am getting the unresolved assembly reference issue.  If i refer the source file also from an environment varibale like below, its works without any error.

DocumentationSources>
      <DocumentationSource sourceFile="%DocEnvVaribale%\My.Dll" />
       <DocumentationSource sourceFile=" %DocEnvVariable%\My.xml"/>
</DocumentationSources>

<ItemGroup>
    <Reference Include="Ref">
      <HintPath>%MyEnvVariable%\Ref.dll</HintPath>
    </Reference></ItemGroup>

Could you please let me know why this happend and how can i use the first scenario wothout getting the unresolved assembly reference errror. Or do i need to stick on the second approach.