roslyn

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

Github stars Tracking Chart

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, Spanish, Mono, :--:, :--:, :--:, :--:, :--:, master, Build Status, Build Status, Build Status, Build Status, master-vs-deps, Build Status, Build Status, Build Status, Build Status, //: # (End current test results)

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

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.

Main metrics

Overview
Name With Ownerdotnet/roslyn
Primary LanguageC#
Program languagePowerShell (Language Count: 11)
Platform
License:MIT License
所有者活动
Created At2015-01-11 02:39:03
Pushed At2025-06-10 13:33:26
Last Commit At
Release Count987
Last Release NameVSCode-CSharp-2.81.17 (Posted on )
First Release NameOss.Scan.2013.03.13 (Posted on )
用户参与
Stargazers Count19.6k
Watchers Count1k
Fork Count4.1k
Commits Count125.2k
Has Issues Enabled
Issues Count34611
Issue Open Count6424
Pull Requests Count36220
Pull Requests Open Count549
Pull Requests Close Count5785
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private