Skip to content
The .NET Compiler Platform ("Roslyn") provides open-source C# and Visual Basic compilers with rich code analysis APIs.
Branch: master
Clone or download
Pull request Compare This branch is 45329 commits behind dotnet:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
docs
src
.gitattributes
.gitignore
BuildAndTest.proj
License.txt
README.md

README.md

Welcome to the .NET Compiler Platform ("Roslyn")

Build Status

The .NET Compiler Platform ("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.

Try new language and IDE features

Just want to provide feedback on new language features and IDE features?

  • Try out Visual Studio 2015 Preview, which has the latest features built-in.

    Want to keep your box clean? You can use prebuilt Azure VM images with VS 2015 Preview already installed.

  • You can also try April's End User Preview, which installs on top of Visual Studio 2013. (Note: The VS 2013 preview is quite out of date, and is no longer being updated.)

Build tools that understand C# and Visual Basic

Get started building diagnostics, code fixes, refactorings, and other code-aware tools!

To get started on Visual Studio 2015 Preview:

  1. Set up a box with Visual Studio 2015 Preview. Either install Visual Studio 2015 Preview, or grab a prebuilt Azure VM image.
  2. Install the Visual Studio 2015 Preview SDK. You'll need to do this even if you're using the Azure VM image.
  3. Install the SDK Templates VSIX package to get the Visual Studio project templates.
  4. Install the Syntax Visualizer VSIX package to get a Syntax Visualizer tool window to help explore the syntax trees you'll be analyzing.

To get started on Visual Studio 2015 CTP 5:

  1. Set up a box with Visual Studio 2015 CTP 5. Either install Visual Studio 2015 CTP 5, or grab a prebuilt Azure VM image.
  2. Install the Visual Studio 2015 CTP 5 SDK. You'll need to do this even if you're using the Azure VM image.
  3. Install the SDK Templates VSIX package to get the Visual Studio project templates.
  4. Install the Syntax Visualizer VSIX package to get a Syntax Visualizer tool window to help explore the syntax trees you'll be analyzing.

Or, you can grab the latest NuGet Roslyn compiler package. From the NuGet package manager console:

Install-Package Microsoft.CodeAnalysis -Pre

Source code

Get started

Contribute!

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.

.NET Foundation

This project is part of the .NET Foundation along with other projects like the class libraries for .NET Core.

You can’t perform that action at this time.