使用 Sandcastle 引用 EF 4.1 对象
是否可以在 Sandcastle 中引用 Entity Framework 4.1 的帮助文件对象,以便我可以在 xml 注释中使用以下语法
<see cref="T:System.Data.Entity.DbContext"/>
并让它引用正确的文档?目前,当我使用 Sandcastle 帮助文件生成器时,即使继承已被识别,对 EF 4.1 中对象的所有引用都不会链接。我发现的唯一解决方法是使用对 MSDN 站点上的文档的 url 引用,但我还没有弄清楚如何为该工具生成的链接执行此操作,例如从EntityFramework.dll 文件中包含的 .NET 基类。我还尝试引用此文件以及 SHFB 中的 System.Data.Entity 类,但这些选项都不起作用。
谢谢!
Is it possible to reference the help file objects for Entity Framework 4.1 in Sandcastle so that I can use syntax such as:
<see cref="T:System.Data.Entity.DbContext"/>
in my xml comments and have it refer to the proper documentation? Currently, when I use the Sandcastle Help File Builder, all references to the objects in EF 4.1 are not linked, even though the inheritance is recognized. The only work-around I found was to use url references to the documentation on the MSDN site, but I haven't figured out how to do that for links that are generated by the tool, such as methods and properties which are inherited from the base .NET classes contained in the EntityFramework.dll file. I also tried referencing this file as well as the System.Data.Entity class from SHFB, but none of those options worked.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我能够弄清楚该怎么做。当我将 EntityFramework.xml 文件作为 SHFB 中的文档源之一包含时,它能够解析所有引用。包含 EntityFramwork.dll 或在 SHFB 的引用部分中设置对 EntityFramework 的引用不起作用。
I was able to figure out what to do. When I included the EntityFramework.xml file as one of the documentation sources in SHFB, it was able to resolve all the references. Including the EntityFramwork.dll or setting a reference to EntityFramework in the References section of SHFB did not work.