Sandcastle Unresolved Assembly Reference

时间:2017-02-02 19:28:51

标签: c# documentation-generation sandcastle assembly-references shfb

我正在尝试使用Sandcastle帮助文件生成器从我的方法中获取XML并为我的项目创建文档。我已将XML和DLL添加为文档源并已配置通配符程序集引用插件以添加我的bin,当构建时添加了许多引用,包括:

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

但我仍然遇到此错误导致构建失败:

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:\andrew.branoff@paretobiz.com\Sandcastle\Help\Working\GenerateRefInfo.proj]

为什么Sandcastle没有找到反馈,如果我使用程序集绑定重定向忽略这个,那么另一个Owin引用就会丢失,如果我忽略它,它就会丢失Newtonsoft.JSON

编辑 -

我验证了版本号不匹配,但是当我尝试重定向到我的版本时,我仍然会收到错误

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

虽然忽略错误确实允许我构建帮助文件,但它确实在文档中创建漏洞,而不是链接到那些被忽略的文件的MSDN文章。我希望解决我遇到的问题,而不是忽视它们或破解我的方式。

0 个答案:

没有答案