Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get source code of .NET libraries to VS

I was told that Microsoft has released reference source code for some .NET libraries (I'm especially interested in C# libraries). If it is true, I would like to download that code and use it with my VS, so I can browse the code by selecting

Go to Declaration

and

Go to Implementation

from context menu. It would be much better then just to see documentation in object browser. So how do I get VS to work with it? Thank you.

like image 843
Rasto Avatar asked Nov 29 '22 18:11

Rasto


2 Answers

Up-to-Date answer

All you need is this: http://referencesource.microsoft.com/

like image 128
Raz Megrelidze Avatar answered Dec 09 '22 09:12

Raz Megrelidze


Here's an article on MSDN and you may also checkout the following article and this blog post also. This allows you to step through the framework source code while debugging your applications. Reflector is also a good tool for browsing through the compiled assemblies.

like image 40
Darin Dimitrov Avatar answered Dec 09 '22 09:12

Darin Dimitrov