Microsoft Releases Source of .NET Base Classes 110
Disgruntled Fungus writes "A few months ago, we discussed Microsoft's intention to open source the .NET libraries. According to a developer's official blog, the source code is now available. The source to libraries such as System, IO, Windows.Forms, etc. can now be viewed and used for debugging purposes from within Visual Studio. Instructions for doing so have also been provided. The source code has been released with a read-only license and 'does not apply to users developing software for a non-Windows platform that has "the same or substantially the same features or functionality" as the .NET Framework.'"
Re:you know what *that* sounds like.. (Score:4, Informative)
(see also Lutz Roeder's popular
Reflector (Score:5, Informative)
Reflector is downloadable from http://www.aisto.com/roeder/dotnet/ [aisto.com]. And it's obfuscated, so it won't run usefully on itself
Looks rather clunky (Score:5, Informative)
* Each source file you debug into is dynamically downloaded once for each session and not retained.
* Setting breakpoints in the source is a multi-step process, because the source is different from the corresponding symbol files because the copyright banners they insert change the CRC. You have to tell the IDE to ignore that.
* You have to manually tell it to load symbols for each file.
* The symbols are also served up from an MS server (but they are cached beyond a single session).
* Some of these symbol files are 10MB, so VS "may be unresponsive" while you download them.
* "Go to Definition" doesn't work.
This in contrast to the same support in Eclipse, where all you have to do is
* Download the source
* Tell the IDE where to find the source
No, you'll get an HTTP 400 (Bad Request) response.
Given that it all seems so inconvenient to use, I think I may be sticking to Reflector.
it's not open source (Score:5, Informative)
In fact, the real problem with this is that, in case of ambiguities, people will code increasingly to Microsoft's source code instead of the specification. Furthermore, after having released it, Microsoft may attempt to claim that the Mono project copied some of their source code in violation of the license.
One can't prevent Microsoft from doing this, but it's not a good thing.
Re:The Source for the Runtime is also out. (Score:3, Informative)
The Shared Source CLI archive contains the following technologies in source code form: