The .NET Compiler Platform ("Roslyn") provides open-source C# and Visual Basic compilers with rich code analysis APIs.
C# Visual Basic PowerShell Batchfile Groovy Shell
Latest commit 36670bb Jul 24, 2016 @CyrusNajmabadi CyrusNajmabadi committed on GitHub Merge pull request #12706 from CyrusNajmabadi/glyphsAndTags
Make it possible to go from Tags back to a Glyph enum.
Failed to load latest commit information.
.github Update ISSUE_TEMPLATE.md Feb 18, 2016
build Microsoft.CodeAnalysis.Metadata and Microsoft.CodeAnalysis.PooledObjects Jul 20, 2016
docs Merge pull request #12603 from gafter/outvar-model Jul 22, 2016
src Merge pull request #12706 from CyrusNajmabadi/glyphsAndTags Jul 24, 2016
.editorconfig .editorconfig: Don't set indent_size for all files Nov 20, 2015
.gitattributes Add comment explaining gitattributes change Mar 10, 2016
.gitignore Download NuGet.exe instead of having it checked in Jun 29, 2016
BuildAndTest.proj Merge from future into features/patterns Apr 1, 2016
Compilers.sln Microsoft.CodeAnalysis.Metadata and Microsoft.CodeAnalysis.PooledObjects Jul 21, 2016
CrossPlatform.sln Microsoft.CodeAnalysis.Metadata and Microsoft.CodeAnalysis.PooledObjects Jul 21, 2016
License.txt Include the actual license text. Feb 5, 2015
Makefile Download NuGet.exe on Linux / Mac Jun 29, 2016
NuGet.Config Fix IBCMerge Issues (#12520) Jul 14, 2016
README.md Update README.md Jul 14, 2016
Restore.cmd Properly restore packages for the Roslyn SDK Jul 4, 2016
Roslyn.sln Microsoft.CodeAnalysis.Metadata and Microsoft.CodeAnalysis.PooledObjects Jul 21, 2016
SetDevCommandPrompt.cmd Enable building and (some) testing on machines with only Dev15 Previe… Jul 20, 2016
cibuild.cmd Enable building and (some) testing on machines with only Dev15 Previe… Jul 20, 2016
cibuild.sh Remove retry around Make Mar 17, 2016
dependencies.xml List versions of all dependencies in Dependencies.props Jul 7, 2016
netci.groovy Move last custom MicroBuild step to Roslyn repo Jul 12, 2016

README.md

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

Windows - Unit Tests

Debug x86 Debug x64 Release x86 Release x64 Determinism
master (2.0 Preview 4) Build Status Build Status Build Status Build Status Build Status

Linux/Mac - Unit Tests

Linux Mac OSX
master (2.0 Preview 4) Build Status Build Status

Join the chat at https://gitter.im/dotnet/roslyn

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

Want to start developing in C# and Visual Basic? Download Visual Studio 2015, which has the latest features built-in. There are also prebuilt Azure VM images available with VS 2015 already installed.

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.

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.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

.NET Foundation

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