#115 – Downloading All .NET 4 Source Code

Post #90 explained how to step into .NET 4 source code from Visual Studio 2010.  If, you’d rather just view the source code without having to actually step into it from the debugger, you can download all .NET 4 source code directly.

Go to the following site: http://referencesource.microsoft.com/netframework.aspx

You’ll see a list of all source code components that you can download.  Look for .NET 4 towards the bottom.

Click on the Download link and then run the resulting .msi (installer) file that is downloaded.  Specify a location for the source code.

You’ll see Source and Symbols directories.  You can navigate down into the Source directory to find the source code that you’re interested in.  For example, you can find the source code for the System.Array class at:

\Source\.Net\4.0\DEVDIV_TFS\Dev10\Releases\RTMRel\ndp\clr\src\BCL\System\Array.cs\1305376

Advertisements

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

2 Responses to #115 – Downloading All .NET 4 Source Code

  1. Pingback: İpinUcu ~ 31 – .NET’in Tüm Kaynak Kodları « Mehmet KAPLAN

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: