dotnet/roslyn


The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/

License: Apache-2.0

Language: C#

Keywords: csharp, roslyn, visual-basic, visual-studio


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 Debug (Legacy completion) Release (Legacy completion)
master Build Status Build Status Build Status Build Status
master-vs-deps Build Status Build Status 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 2019, which has the latest features built-in. There are also prebuilt Azure VM images available with Visual Studio 2019 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.

Project Statistics

Sourcerank 21
Repository Size 682 MB
Stars 11,822
Forks 2,748
Watchers 1,081
Open issues 6,417
Dependencies 2
Contributors 382
Tags 117
Created
Last updated
Last pushed

Top Contributors See all

CyrusNajmabadi Jared Parsons Heejae Chang Jason Malinowski Tomáš Matoušek Sam Harwell Manish Vasani Neal Gafter Andy Gocke Vladimir Sadov AlekseyTs dotnet-automerge-bot Charles Stoner Fred Silberberg Julien Couvreur Dustin Campbell Ravi Chande Gen Lu Jonathon Marolf David Poeschl

Packages Referencing this Repo

Microsoft.CodeAnalysis.CSharp
.NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll. M...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.Net.Compilers
.NET Compilers package. Referencing this package will cause the project to be built using t...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis.Features
.NET Compiler Platform ("Roslyn") support for creating editing experiences. More detai...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis.EditorFeatures.Text
.NET Compiler Platform ("Roslyn") support for working with Visual Studio text buffers. ...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.Net.Compilers.Toolset
.NET Compilers Toolset Package. Referencing this package will cause the project to be built...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis.Scripting
Microsoft .NET Compiler Platform ("Roslyn") CSharp and VB scripting package. More deta...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis.VisualBasic.Workspaces
.NET Compiler Platform ("Roslyn") support for analyzing Visual Basic projects and solutions. ...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install th...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis
.NET Compiler Platform ("Roslyn"). This is the all-in-one package (a superset of all assem...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis.Workspaces.Common
A shared package used by the .NET Compiler Platform ("Roslyn") including support for analyzing pr...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis.VisualBasic
.NET Compiler Platform ("Roslyn") support for Visual Basic, Microsoft.CodeAnalysis.VisualBasic.dl...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis.Compilers
Compiler layer of the .NET Compiler Platform ("Roslyn"). Install this package to get both C...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis.Workspaces.MSBuild
.NET Compiler Platform ("Roslyn") support for analyzing MSBuild projects and solutions. This shou...
This package is no longer available on NuGet
Microsoft.CodeAnalysis.CSharp.Workspaces
.NET Compiler Platform ("Roslyn") support for analyzing C# projects and solutions. Mor...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.VisualStudio.LanguageServices
.NET Compiler Platform ("Roslyn") support for Visual Studio. More details at https://a...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis.VisualBasic.Features
.NET Compiler Platform ("Roslyn") support for creating Visual Basic editing experiences. ...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
Microsoft.CodeAnalysis.CSharp.Scripting
Microsoft .NET Compiler Platform ("Roslyn") CSharp scripting package. More details at ...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars
CSCWithCompilerIntrinsics
C# Compiler 2.8.2 + Compiler Intrinsics Proposal (https://github.com/dotnet/roslyn/issues/11475)....
Latest release 2.8.2 - Updated - 11.8K stars
Microsoft.CodeAnalysis.EditorFeatures.Wpf
.NET Compiler Platform ("Roslyn") support for WPF-dependent editor features inside the Visual Stu...
Latest release 2.8.2 - Updated - 11.8K stars
Microsoft.CodeAnalysis.Scripting.Common
Microsoft .NET Compiler Platform ("Roslyn") shared scripting package. Do not install this p...
Latest release 3.3.1-beta3-final - Updated - 11.8K stars

Recent Tags See all

version-3.2.0 August 09, 2019
Visual-Studio-2019-Version-16.2 August 09, 2019
Visual-Studio-2019-Version-16.2 August 09, 2019
Visual-Studio-2019-Version-16.2-Preview-1 May 21, 2019
version-3.1.0 May 21, 2019
Visual-Studio-2019-Version-16.1 May 21, 2019
version-3.0.0 April 17, 2019
version-2.10.0 November 13, 2018
Visual-Studio-2017-Version-15.9 November 13, 2018
version-2.9.0 August 24, 2018
version-2.9.0 August 24, 2018
Visual-Studio-2017-Version-15.8 August 24, 2018
Visual-Studio-2017-Version-15.8 August 24, 2018
Visual-Studio-2017-Version-15.8 August 24, 2018
Visual-Studio-2017-Version-15.7.2 May 16, 2018

Interesting Forks See all

MattWindsor91/roslyn
Experimental concepts for C# using Roslyn
C# - Apache-2.0 - Last pushed - 30 stars
stark-lang/stark-roslyn
This is the stark compiler forked from the Roslyn .NET compiler C# with rich code analysis APIs.
C# - Apache-2.0 - Last pushed - 13 stars - 1 forks
OmniSharp/roslyn
The .NET Compiler Platform ("Roslyn") provides open-source C# and Visual Basic compilers with ric...
C# - Apache-2.0 - Last pushed - 6 stars - 3 forks
Unity-Technologies/roslyn
The .NET Compiler Platform ("Roslyn") provides open-source C# and Visual Basic compilers with ric...
C# - Apache-2.0 - Last pushed - 5 stars - 1 forks
333fred/roslyn
The .NET Compiler Platform ("Roslyn") provides open-source C# and Visual Basic compilers with ric...
C# - Last pushed - 4 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-08-15 21:39:11 UTC

Login to resync this repository