.NET Framework 4 Reference source is available
With the release of Visual Studio 2010, we also released the .NET 4 reference sources. The following binaries represent the published .NET 4 managed reference source:
microsoft.visualbasic.dll
mscorlib.dll
PresentationBuildTasks.dll
PresentationCore.dll
PresentationFramework.Aero.dll
PresentationFramework.Classic.dll
PresentationFramework.Luna.dll
PresentationFramework.dll
PresentationFramework.Royale.dll
PresentationHost_v0400.dll
System.AddIn.Contract.dll
System.AddIn.dll
System.Core.dll
System.Data.DataSetExtensions.dll
System.Data.Entity.Design.dll
System.Data.Entity.dll
System.Data.Linq.dll
System.Data.dll
System.Data.Services.Client.dll
System.Data.Services.Design.dll
System.Data.Services.dll
System.Data.SqlXml.dll
System.Drawing.dll
System.Management.dll
System.dll
System.Printing.dll
System.Security.dll
System.Web.DynamicData.dll
System.Web.Entity.Design.dll
System.Web.Entity.dll
System.Web.Extensions.dll
System.Web.Mobile.dll
System.Web.dll
System.Web.Routing.dll
System.Windows.Forms.dll
System.Xml.Linq.dll
System.Xml.dll
UIAutomationClient.dll
UIAutomationClientsideProviders.dll
WindowsBase.dll
ComSvcConfig.dll
SMDiagnostics.dll
System.IdentityModel.dll
System.IdentityModel.Selectors.dll
System.IO.Log.dll
System.Runtime.Serialization.dll
System.ServiceModel.dll
System.ServiceModel.WasHosting.dll
System.ServiceModel.Web.dll
System.Transactions.dll
System.Web.Services.dll
System.Workflow.Activities.dll
System.Workflow.ComponentModel.dll
System.Workflow.Runtime.dll
System.WorkflowServices.dll
WsatConfig.dll
System.Activities.dll
System.Activities.core.presentation.dll
System.Activities.presentation.dll
System.ServiceModel.Activities.dll
System.ServiceModel.Routing.dll
System.ServiceModel.Discovery.dll
System.ServiceModel.Channels.dll
System.Runtime.DurableInstancing.dll
System.Activities.DurableInstancing.dll
Microsoft.VisualBasic.Activities.Compiler.dll
Microsoft.VisualBasic.Activities.CompilerUI.dll
System.Xaml.Hosting.dll
XamlBuildTask.dll
System.Messaging.dll
System.Runtime.Remoting.dll
System.Runtime.Serialization.Formatter.Soap.dll
System.ServiceModel.Activation.dll
System.ServiceModel.Discovery.dll
The .NET 4 file version for this release is 4.0.30319.1.
And for those of you that need offline availability to step into the .NET Reference source with Visual Studio 2010, here is where you can find the offline packages.
https://referencesource.microsoft.com/netframework.aspx
Instructions for setting up Visual Studio for reference source stepping can be found here:
Note, you don't have to install any hotfix's to get started with Visual Studio 2010 source stepping. Enjoy!
Comments
Anonymous
August 26, 2010
Excellent news... I guess everyone had lost hope by now...Anonymous
August 30, 2010
It was posted immediately after release. Just this notice on this blog was delayed. :)Anonymous
September 13, 2010
Something is wrong. I can't donwload .net 4 referencesource from referencesource.microsoft.com/netframework.aspx :(Anonymous
October 06, 2010
Hi Mirek, Is this still an issue? Is it timing out? Thx, ChrisAnonymous
October 14, 2010
Everything is OK. It was my internal network problem, thx for your respond.Anonymous
January 08, 2011
Hi, I install .Net 4 reference source code from Net_4.msi found here referencesource.microsoft.com/netframework.aspx and I see that all .cs and .pdb files have their contents repeated twice. Seems that this an error in RSCC.ZipHelper.exe, which duplicates file contents while extracting from zip archive. Or is it by design for some reason? Regards, AlexanderAnonymous
January 19, 2011
Any word on the duplication of the source within the files? ThanksAnonymous
May 31, 2011
Agree with Lee: each file has code duplicated - looks like a bug in a tool that produced the distro (NET 4). Another question: can I build the source? I see no project files there...Anonymous
August 15, 2011
No source for System.Web.dll? Your list says yes, but the download says no :(Anonymous
August 16, 2011
Duh. It's spread across multiple files. Move along, nothing to see here :-)Anonymous
September 12, 2011
Hi, I was looking through the files and source for system.activities.durableinstancing is not available. Please do know the reason why? There is a pdb file that suggests it will be in the following directory but the folder system.activities.durableinstancing isn't there ndpcdfsrcnetfx40system.activities.durableinstancing Thanks, WaheedAnonymous
October 02, 2011
Can you PLEASE USE VERSION NUMBERS that most of us are similar with? .NET 1.0, 2.0, 3.0, 3.5, 4.0. ETC.... .NET v8.0? what? Product Name Version View Download .NET 8.0 View EULA Download dotnetfx1434_VistaWin2k8sp1 50727.1434 View EULA Download FXUpdate3074 50727.3074 View EULA Download ASP.NET_MVC 1.0 View EULA Download WCF 3.5SP1 View EULA Download WF 3.5SP1 View EULA Download Dotnetfx_Vista_SP2 50727.4016 View EULA Download Dotnetfx_Win7_3.5.1 3.5.1 View EULA Download ASP.NET_MVC 2.0 View EULA Download .Net 4 View EULA Download .NET_3.5_sp1_redist 50727.3053 View EULA Download ASP.NET_MVC 3 View EULA Download Netfx_3.5.1_Win7SP1 3.5.1 View EULA DownloadAnonymous
October 17, 2011
"Can you PLEASE USE VERSION NUMBERS that most of us are similar with? .NET 1.0, 2.0, 3.0, 3.5, 4.0. ETC.... .NET v8.0? what?" I know, seriously! :-)Anonymous
November 09, 2011
Agreed, but no one seems to be listening to the blog commentsAnonymous
November 24, 2011
Is there some reason that enums and interface definitions are omitted from the reference source? (Things like ICollection, AttributeTargets, etc)Anonymous
January 23, 2012
The comment has been removedAnonymous
January 23, 2012
is the source code updated with 4.0.30319.272 version?Anonymous
May 21, 2012
The comment has been removedAnonymous
July 20, 2012
Thank, I'm going to download it..Anonymous
November 01, 2012
Where can I download the .NET 4 SP1 reference source code? It does not seem to be available on referencesource.microsoft.comAnonymous
February 11, 2013
.Net framework 4.0 file downloads as "netframework.aspx" and is corrupt... what gives?Anonymous
August 22, 2013
All the sources I try to download are downloaded as "netframework.aspx" files. I try to rename to .zip after I download and still no luck, all I see are two .zip folders inside called symols.zip and source.zip and a correupt readme with no extension so I have no idea what format that is in either. Cannot extract them or repair the archive. Fix the downloads please. ASAPAnonymous
August 24, 2013
Rename the file to .msi If you download it with IE, it doesnt do that.Anonymous
September 25, 2013
It can't be downloaded , it download till .99 MB and stopAnonymous
October 21, 2013
The file content duplication issue was first reported Jan 2011 but as to today (Oct 2013), it's still not fixed and happened again to .net 4.5 and .net 4.5.1 source code download.Anonymous
February 10, 2014
This download page is A COMPLETE JOKE!!!!!! FIX IT Microsoft it's February 2014 already!Anonymous
May 01, 2014
This blog post appears to be out-of-date. See this page for the .NET reference source: referencesource.microsoft.comAnonymous
November 17, 2014
I have downloaded the source code and tried to compile System.Web and it showed many errors, many missing classes, etc. Why do you call this one open source?