This question already has an answer here:
...or do I need Studio to view it?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
There are several ways to look at source code from the .NET framework and the BCL (or approximations to it). All of them can be used independently of Visual Studio (with varying degrees of difficulty), if you want.
| |||||||||
|
I came across this thread just recently looking for the exact same thing. It was frustrating to find there wasn't any online version available. Luckily, I believe I found a good source which seems to provide a lot of the .NET classes for online viewing. Even though this question is quite old I will provide this for anyone who comes looking here just like I did. | ||||
|
The code for much of the .NET Framework libraries have been released: [Edit] I'll be the 1st one to say: I LOVE .NET Reflector, but it emits decompiled intermediate language, NOT original source code. I highly recommend Reflector but it's very important to remember the true nature of what you're viewing with it. | ||||
|
You can view library source code if you have the framework DLLs and .NET Reflector. This is likely to be the easiest solution if you can not find it online. | |||||||||||||
|
please see this URL: http://labs.developerfusion.co.uk/SourceViewer/browse.aspx?assembly=SSCLI CLI online source code viewer is it something you were looking for? | |||
|
The .Net framework isn't open source, so being online isn't the limiting factor here. You can use Reflector to decompile pieces of it or look at Mono for an open source re-implementation and neither requires Visual Studio. Is there a reason that you want to look at the framework's source? | |||||||||||||
|
All you need to do is enable stepping into framework code: Tools->Options->Debugging->Enable .Net Framework Source Stepping This will entail you setting up a Symbols directory (Tools->Options->Debugging->Symbols). I use Then, once you've enable the option, the first time you debug an app, it will download all relevant symbols and debug info from Microsoft to the specified directory. After that, you can step into framework code as if it were your own (although you can't edit it ofc.) | ||||
|