Visual Studio 2015缺少XML注释/文档 [英] Visual Studio 2015 missing XML comments / documentation

查看:225
本文介绍了Visual Studio 2015缺少XML注释/文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是我还是在 Visual Studio 2015 中缺少System.Linq的XML注释? 因为我仍然可以在 MSDN 上找到它. 但是例如在键入时,此代码:

Is it me or are the XML comments missing for System.Linq in Visual Studio 2015? Because I can still find it on MSDN. But when typing, for example, this code:

var list = new List<string>();
list.Select(

IntelliSense不提供命名空间中 any 类/方法/成员/扩展的注释/文档:

IntelliSense doesn't provide the comments/documentation for any class/method/member/extension in the System.Linq namespace:

Enumerable上按( Alt +) F12 进入定义时,此处是预览:
我想我也没有注意到Visual Studio 2013中的文档.但是我确实记得他们曾经在那里,也许是在Visual Studio 2012或更早的版本中?

Here is a preview when hitting (Alt + )F12 to go to definition for a random extension method on Enumerable:
I think I didn't notice the docs in Visual Studio 2013 either. But I do remember them being there once upon a time, perhaps that was in Visual Studio 2012 or before?

编辑:我忘了提到我已经在Visual Studio 2015中安装了Resharper 10 Ultimate.我还已经在Visual Studio 2013中安装了Resharper 8和9.

EDIT: I've forgot to mention that I've Resharper 10 Ultimate installed in Visual Studio 2015. I've also had Resharper 8 and 9 installed in Visual Studio 2013.

推荐答案

我遇到了相同的问题,但对于整个框架(4.6).实际上,我错过了"C:\ Program Files(x86)\ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.6"文件夹中整个Framework程序集的所有XML文件.

I had the same problem but for a whole framework (4.6). In fact, I missed all the XML files for the whole Framework assemblies in the folder "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6".

问题是我安装了从MSDN下载中心获得的 Microsoft .NET Framework 4.6 Targeting Pack ,但我错过了其他的小型msi软件包.主程序包仅安装必要的程序集,而您必须安装另一个程序集(ENU,ITA等)才能以在下载页面上选择的语言来获取这些XML文件.

The problem was that I installed the Microsoft .NET Framework 4.6 Targeting Pack that I got from the MSDN download center, but I missed the other smaller msi package that got along. The main package only installs the necessary assemblies, and you have to install the other one (ENU, ITA, etc.) to get those XML files in the language chosen on the download page.

这篇关于Visual Studio 2015缺少XML注释/文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆