Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing documentation for system-assemblies in VS2012

for some time now, on my 2nd development machine VS2012 is not showing any (XML-)documentation for system/GAC/built-in assemblies. E.g., when I jump to a built-in Type that resides in mscorlib.dll, there is no documentation (see screenshot). If I include my own assemblies (that are accompanied by their respective XMLs) I can see the full doc. I tried resetting Intellisense but that didn't help. This is how it looks:

vs2012 error

(The pluses over each member that would expand the comment are totally missing and ctrl+space doesn't show anything either)

like image 298
user654123 Avatar asked Apr 11 '26 07:04

user654123


1 Answers

The most likely cause for this problem is the XML documentation for mscorlib is not installed in the same location as the mscorlib reference assembly. The best way to check for this

  • Expand the region at the top of the file
  • It will contain the full path of the assembly C# is using. For example

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll

  • Open that directory in explorer
  • Check for mscorlib.xml

If the file is not there then it looks like the reference assemblies failed to properly install documentation. You could just copy it from another machine or repair the Visual Studio installation

like image 173
JaredPar Avatar answered Apr 17 '26 13:04

JaredPar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!