Welcome to the .NET Compiler Platform ("Roslyn")
Windows - Unit Tests
|Debug x86||Debug x64||Release x86||Release x64|
Linux/Mac - Unit Tests
Roslyn provides open-source C# and Visual Basic compilers with rich code analysis APIs. It enables building code analysis tools with the same APIs that are used by Visual Studio.
Download C# and Visual Basic
To install the latest release without Visual Studio, run one of the following nuget command lines:
nuget install Microsoft.Net.Compilers # Install C# and VB compilers nuget install Microsoft.CodeAnalysis # Install Language APIs and Services
To get the latest "preview" drop, published about once per month, add the
-pre switch to the nuget commands.
- Clone the sources:
git clone https://github.com/dotnet/roslyn.git
- Enhanced source view, powered by Roslyn
- Building, testing and debugging the sources
- Tutorial articles by Alex Turner in MSDN Magazine
- Roslyn Overview
- API Changes between CTP 6 and RC
- Samples and Walkthroughs
- Analyzer documentation
- Syntax Visualizer Tool
- Language Feature Status
- Language Design Notes
Some of the best ways to contribute are to try things out, file bugs, and join in design conversations.
Looking for something to work on? The list of up for grabs issues is a great place to start.