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 doesn't provide the comments/documentation for any class/method/member/extension in the System.Linq
namespace:
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?
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.
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".
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.
The xml comments / documentation isn't broken but your intellisense is.
Go to definition for external types will only show you a version from metadata of the source code.
Which is why you get this at the the top:
#region Assembly System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Core.dll
#endregion
And it says [from metadata]
:
I see the same going to definition on Select
, but I do get more intellisense than in your screenshot:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With