The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
Clone or download
Latest commit 5dc352b Jan 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Remove PR template Jul 26, 2018
docs Resources should not be emitted into ref assemblies (#31244) Jan 15, 2019
eng Publish to BAR (#32442) Jan 16, 2019
scripts Arcade layout (#31560) Dec 10, 2018
src Merge pull request #32512 from dotnet/merges/dev16.0-preview2-to-master Jan 16, 2019
.editorconfig Add missing .editorconfig formatting settings Dec 18, 2018
.gitattributes Mark compiler generated files as generated for GitHub PRs (#31564) Dec 6, 2018
.gitignore Use raw IBC data from VSTS drop (#32178) Jan 15, 2019
Build.cmd Arcade layout (#31560) Dec 10, 2018
CONTRIBUTING.md Contributing page: reference Unix build instructions Oct 28, 2018
Compilers.sln Using declaration lowering rewrite (#31674) Dec 21, 2018
Compilers.slnf Add Compilers filter for Roslyn (#30880) Nov 10, 2018
Directory.Build.props Arcade SDK 1.0.0-beta.18613.19 (#31778) Dec 14, 2018
Directory.Build.rsp Add empty Directory.Build.rsp files Apr 9, 2018
Directory.Build.targets Arcade SDK 1.0.0-beta.18613.19 (#31778) Dec 14, 2018
License.txt Include the actual license text. Feb 6, 2015
NuGet.config Arcade SDK 1.0.0-beta.18613.19 (#31778) Dec 14, 2018
README.md Update the badge layout Nov 30, 2018
Restore.cmd Arcade layout (#31560) Dec 10, 2018
Roslyn.sln Add an adapter assembly for TypeScript Dec 19, 2018
SourceBuild.sln NuGet packaging (#29408) Aug 27, 2018
THIRD-PARTY-NOTICES.txt Added DotNet global tool for code formatting. (#29403) Oct 10, 2018
Test.cmd Arcade layout (#31560) Dec 10, 2018
azure-pipelines-integration.yml Merge pull request #32159 from sharwell/fix-nre Jan 10, 2019
azure-pipelines-official.yml Publish to BAR (#32442) Jan 16, 2019
azure-pipelines.yml Trigger Branch and PR CI builds for 16.0 preview branches (#32285) Jan 9, 2019
build.sh Arcade layout (#31560) Dec 10, 2018
global.json Use raw IBC data from VSTS drop (#32178) Jan 15, 2019
restore.sh Arcade layout (#31560) Dec 10, 2018
test.sh Arcade layout (#31560) Dec 10, 2018

README.md

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

Desktop Unit Tests

Branch Debug x86 Debug x64 Release x86 Release x64
master Build Status Build Status Build Status Build Status
master-vs-deps Build Status Build Status Build Status Build Status

CoreClr Unit Tests

Branch Windows Debug Windows Release Linux
master Build Status Build Status Build Status
master-vs-deps Build Status Build Status Build Status

Integration Tests

Branch Debug Release
master Build Status Build Status
master-vs-deps Build Status Build Status

Misc Tests

Branch Determinism Build Correctness Mono Spanish
master Build Status Build Status Build Status Build Status
master-vs-deps Build Status Build Status 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.

Language Design Discussion

We are now taking language feature discussion in other repositories:

Discussion about the transition of language design to the new repos is at https://github.com/dotnet/roslyn/issues/18002.

Download C# and Visual Basic

Want to start developing in C# and Visual Basic? Download Visual Studio 2017, which has the latest features built-in. There are also prebuilt Azure VM images available with Visual Studio 2017 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

Daily NuGet builds of the project are also available in our MyGet feed:

https://dotnet.myget.org/F/roslyn/api/v3/index.json

See what's new with the C# and VB compilers.

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.