Исходники .Net

Microsoft сходит с ума. Вначале была предложена платформа в которой были включены компиляторы, затем они выпустили линейку Express IDE. Теперь еще можно получить исходники. Все задаром — лишь бы пробовали, пользовались, писали и соответсвенно продвигали.

Берем Net Mass downloader и берем интересующие исходники (не всё доступно, конечно). Потребуется установить framework 3.5.

.Net Mass Downloader 1.2.0.0 -
(c) 2008 by Kerem Kusmezer, John Robbins

Batch download the Microsoft .NET Reference Source code.

Usage:
NetMassDownloader [-file <file>]
                  [-directory <directory]
                  [-output <directory>]
                  [-vsver <version>]
                  [-proxy server|username|password|domainname]
                  [-force] [-nologo] [-verbose] [-?]

    -file      - Download an individual file's PDB and source code.
                 You can specify multiple file parameters.
                 (Short -f).

    -directory - Download all the found PDB and source code
                 for all files in
                 the specified directory. You can
                 specify multiple
                 directory parameters
                 (Short -d).

    -output    - The output directory for PDB and source files.
                 The default directory is the cache directory
                 set in Visual Studio 2008.
                 By using the cache directory, you'll
                 have the PDB and source
                 files available to Visual Studio 2008.
                 However, to use the
                 .NET Reference Source Code with VS 2005,
                 use the -output
                 switch and in the Options dialog, Debugging,
                 Symbols property
                 page, add the specified output directory
                 to the "Symbol file (.pdb) locations."
                 Also, add the directory to the Solution
                 Properties, Common Properties,
                 Debug Source Files, Directories
                 containing source code location.
                 The Visual Studio 2005
                 debugger will automatically load the
                 source code.
                 (Short -o)

    -vsver     - The Visual Studio version number
                 to use for finding the cache
                 directory. The default is
                 Visual Studio 2008,
                 but if you want to use the cache
                 directory for Visual Studio
                 2005, you would pass '-vsver 8.0'
                 (without quotes)
                 (Short -vs)

    -force     - If specified, forces the downloading
                 the PDB files into the
                 symbol server. When downloading to
                 a symbol server if the PDB
                 exists, it's not downloaded.
                 Using the -output switch will
                 always download and process the PDB.
                 (Short -fo)

    -nologo    - Don't show the logo information.
                 (Short -n)

    -verbose   - Do verbose output. May be worth turning
                 on as the downloading
                 source code can take a long time.
                 (Short -v)

    -proxy     - Some proxies require credentials in order
                 for the download to
                 work. The syntax required is
                 "http://testserver:80|username|password|domainname" or
                 "http://testserver:80|username|password"
                 For more information about using this flag,
                 see discussion of
                 bug 1133 at http://www.codeplex.com/NetMassDownloader for more
                 details.
                 (Short -p)

    -?         - This help message.

Можно требуемую библиотеку посмотреть, пожалуйста

NetMassDownloader -f D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll -output sources

Можно и весь доступный код для определенного framework взять:

NetMassDownloader -d d:\Windows\Microsoft.NET\Framework\v2.0.50727 -output sources

Technorati Tags: ,,

Tags: , ,

Смотрите также: