Sandcastle Unresolved Assembly Reference

775 Views Asked by At

I am trying to use Sandcastle Help File Builder to take the XML from my methods and create documentation for my project. I have the XML and the DLL added as Documentation Sources and have configured the Wildcard Assembly References plugin to add my bin which when building adds many references, including:

Added reference Microsoft.Owin.Security (D:\Andrew\Source\Branches\Andrew\Solution\bin\Microsoft.Owin.Security.dll)

but I still get have the build fail with this error:

MRefBuilder : error : Unresolved assembly reference: Microsoft.Owin.Security (Microsoft.Owin.Security, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) required by Owin.Security.Providers.AzureAD [D:\[email protected]\Sandcastle\Help\Working\GenerateRefInfo.proj]

Why is Sandcastle not finding the refrerence, if I ignore this one using Assembly Binding Redirection, another Owin reference is missing, if I ignore that, it's missing Newtonsoft.JSON

EDIT -

I verified the version numbers don't match up, but when I try a redirect to the version I have I still get the error

Loaded assembly binding redirect: Microsoft.Owin.Security, Culture=neutral, PublicKeyToken=null, Version(s) 1.0.0.0-4.0.0.0 redirect to Version 3.0.1.0

While ignoring the errors does allow me to build the help files, it does create holes in the documentation, not linking to the MSDN articles for those files which were ignored. I am looking to fix the issues I have, not ignore them or hack my way around them.

0

There are 0 best solutions below