Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
379 views
in Technique[技术] by (71.8m points)

c# - Visual Studio not showing IntelliSense descriptions anymore

Since a month ago, my VS doesn't seem to want to display the summary info in tooltips for any system methods or classes when I hover them with my mouse.

I had ReSharper installed and started noticing this problem. I assumed that ReSharper disabled the default method descriptions, so I wasn't thinking much further about it, only considering it a mere annoyance.

After removing ReSharper though, the problem persisted.

VS now only shows descriptions for my own methods which I've added a <summary> tag for and any descriptions from NuGet packages, but not system methods like Where, Encoding.GetString, etc.

enter image description here

I've tried repairing VS, resetting settings, un-/checking checkboxes in Options > Text Editor > General, but to no avail.

Has anyone had a similar problem?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This looks more like a framework issue rather that a VS/R# issue. If neither one of them can load the description strings, it probably means the description XML files are missing.

Check if you see the XML files in:

C:Program Files (x86)Reference AssembliesMicrosoftFramework.NETFrameworkv4.5.2

If you don't, then reinstall the framework to fix the issue.

Link to .NET Framework 4.5.2 Developer Pack: https://www.microsoft.com/en-us/download/details.aspx?id=42637


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...