Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.net framework 3.5 source code

I'm trying to get hands on the source code for .net Framework 3.5 SP1 for several hours now, and the place I remember getting 3.5 sources in the past, http://referencesource.microsoft.com/netframework.aspx, is dead.

Just "3.5" without the "SP1" would be fine as well. It does not need to be bit-exact, but allow me to dig around and see how the stuff is implemented. But the parts of the 4.5 sources on referencesource I checked have changed too much to be useful for me.

I tried NetMassDownloader with the following arguments, but both say "not available" to all dlls, including the most basic ones like 'System.dll' and 'mscorlib.dll'

NetMassDownloader -d "C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5"
Netmassdownloader -d c:\windows\Microsoft.NET -d "c:\Program Files\Reference Assemblies"

So is it, in 2015, still somehow possible to get (as much as possible of) the framework source v3.5 (SP1) code as a zip / tarball?


N.B. Previously I tried to configure Visual Studio 2012 so that I can step into the .net sources in a myriad of suggested ways on the net, including pointing to the

http://referencesource.microsoft.com/symbols
http://msdl.microsoft.com/download/symbols

to no avail. The simplest now seems to be to get a simple archive with the source files - if I could get my hands on them.

like image 922
Evgeniy Berezovsky Avatar asked Sep 29 '22 11:09

Evgeniy Berezovsky


1 Answers

Quoting Hans Passant's comment:

It is just gone, it won't come back. A decent decompiler like Reflector still works of course.

True or not, the free (as in beer) tool dotPeek created a complete VS solution from System.data.dll for me, and it almost compiles even. In any case this is enough for me to dig through the code to see how it actually is implemented.

like image 70
Evgeniy Berezovsky Avatar answered Oct 06 '22 20:10

Evgeniy Berezovsky