.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.

http://referencesource.microsoft.com/netframework.aspx

 Instructions for setting up Visual Studio for reference source stepping can be found here:

http://blogs.msdn.com/b/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx

Note, you don’t have to install any hotfix’s to get started with Visual Studio 2010 source stepping. Enjoy!

 

 

Comments (28)

  1. nunojpg says:

    Excellent news… I guess everyone had lost hope by now…

  2. ChrisD.net says:

    It was posted immediately after release. Just this notice on this blog was delayed. 🙂

  3. MirekSk says:

    Something is wrong. I can't donwload .net 4 referencesource from referencesource.microsoft.com/netframework.aspx 🙁

  4. ChrisD.net says:

    Hi Mirek,

    Is this still an issue? Is it timing out?

    Thx,

    Chris

  5. MirekSk says:

    Everything is OK. It was my internal network problem, thx for your respond.

  6. Alexander says:

    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, Alexander

  7. Lee says:

    Any word on the duplication of the source within the files?

    Thanks

  8. jimm3rs says:

    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…

  9. Torben Frandsen says:

    No source for System.Web.dll? Your list says yes, but the download says no 🙁

  10. Torben Frandsen says:

    Duh. It's spread across multiple files. Move along, nothing to see here 🙂

  11. Waheed says:

    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,

    Waheed

  12. Brian Chavez says:

    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 Download

  13. Adam M. says:

    "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! 🙂

  14. HF says:

    Agreed, but no one seems to be listening to the blog comments

  15. Jonas says:

    Is there some reason that enums and interface definitions are omitted from the reference source? (Things like ICollection, AttributeTargets, etc)

  16. bindu says:

    i think whole thing is made up ,ms doesn't want anyone to know their crap..

  17. love says:

    is the source code updated with 4.0.30319.272 version?

  18. PerryCodes says:

    Well Microsoft… you can be REALLY proud of yourself for dropping the ball on this one.  What's that you say?  Sorry… can't hear you with all the HTML5 and JavaScript you have shoved up your ass…

  19. Thank, I'm going to download it..

  20. Ansgar Hellwig says:

    Where can I download the .NET 4 SP1 reference source code? It does not seem to be available on referencesource.microsoft.com

  21. Eric Newton says:

    .Net framework 4.0 file downloads as "netframework.aspx" and is corrupt… what gives?

  22. Patrick Magee says:

    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. ASAP

  23. Frederic Ouellet says:

    Rename the file to .msi

    If you download it with IE, it doesnt do that.

  24. ahmed says:

    It can't be downloaded , it download till .99 MB and stop

  25. Fei says:

    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.

  26. Jammer says:

    This download page is A COMPLETE JOKE!!!!!!  FIX IT Microsoft it's February 2014 already!

  27. Andrew Pardoe [MSFT] says:

    This blog post appears to be out-of-date. See this page for the .NET reference source: referencesource.microsoft.com

  28. Jimmy says:

    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?