Retour au classement

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

roslynvisual-basicvisual-studiocsharphacktoberfest
Croissance des étoiles
Étoiles
20.6k
Forks
4.3k
Croissance hebdomadaire
Issues
5.6k
5k10k15k20k
janv. 2023mars 2024mai 2025juil. 2026
README

Roslyn logo

The .NET Compiler Platform

Roslyn is the open-source implementation of both the C# and Visual Basic compilers with an API surface for building code analysis tools.

C# and Visual Basic Language Feature Suggestions

If you want to suggest a new feature for the C# or Visual Basic languages go here:

Contributing

All work on the C# and Visual Basic compiler happens directly on GitHub. Both core team members and external contributors send pull requests which go through the same review process.

If you are interested in fixing issues and contributing directly to the code base, a great way to get started is to ask some questions on GitHub Discussions! Then check out our contributing guide which covers the following:

Community

The Roslyn community can be found on GitHub Discussions, where you can ask questions, voice ideas, and share your projects.

To chat with other community members, you can join the Roslyn channel on the CSharp Community Discord.

Our Code of Conduct applies to all Roslyn community channels and has adopted the .NET Foundation Code of Conduct.

Documentation

Visit Roslyn Architecture Overview to get started with Roslyn’s API’s.

NuGet Feeds

The latest pre-release builds are available from the following public NuGet feeds:

  • Compiler: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
  • IDE Services: https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json
  • .NET SDK: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json

Continuous Integration status

Builds

Branch Windows Debug Windows Release Unix Debug
main Build Status Build Status Build Status

Desktop Unit Tests

Branch Debug x86 Debug x64 Release x86 Release x64
main Build Status Build Status Build Status Build Status

CoreClr Unit Tests

Branch Windows Debug Windows Release Linux
main Build Status Build Status Build Status

Integration Tests

Branch Debug x86 Debug x64 Release x86 Release x64
main Build Status Build Status Build Status Build Status

Misc Tests

Branch Determinism Analyzers Build Correctness Source build TODO/Prototype Spanish MacOS
main Build Status Build Status Build Status Build Status Build Status Build Status Build Status

.NET Foundation

This project is part of the .NET Foundation along with other projects like the .NET Runtime.

Dépôts similaires
unoplatform/uno

Open-source platform for building cross-platform native Mobile, Web, Desktop, and Embedded apps from a single C#/XAML codebase. Work from any IDE/CLI with Hot Reload, Visual Designer, MCPs, and Skills built for modern .NET workflows. 200M+ NuGet downloads.

C#Apache License 2.0unouwp
platform.uno
10k868
riok/mapperly

A .NET source generator for generating object mappings. No runtime reflection.

C#Apache License 2.0csharp-sourcegeneratormapping
mapperly.riok.app
4.1k223
MattParkerDev/SharpIDE

A modern, cross platform IDE for .NET, built with .NET & Godot

C#MIT Licensedotnetgodot
discord.gg/gfstTVqCXF
3.8k138
dotnet/roslynator

Roslynator is a set of code analysis tools for C#, powered by Roslyn.

C#Othercsharproslyn
josefpihrt.github.io/docs/roslynator
3.5k286
dotnet-script/dotnet-script

Run C# scripts from the .NET CLI.

C#MIT Licensecsxroslyn
3k180
roslynpad/roslynpad

A cross-platform C# editor based on Roslyn

C#MIT Licenseroslyneditor
roslynpad.net
2.8k393
scriptcs/scriptcs

Write C# apps with a text editor, nuget and the power of Roslyn!

C#Otherscriptcscsx
scriptcs.net
2.5k365
peachpiecompiler/peachpie

PeachPie - the PHP compiler and runtime for .NET and .NET Core

C#Apache License 2.0php-compilerroslyn
peachpie.io
2.5k212
amis92/csharp-source-generators

A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.

Creative Commons Zero v1.0 Universalcsharp-sourcegeneratorcsharp
2.4k227
tareqimbasher/NetPad

A cross-platform C# editor and playground.

C#MIT Licensecsharpeditor
tareqimbasher.github.io/NetPad
2.3k128
Sergio0694/PolySharp

PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add a reference, set your C# version to latest and have fun! 🚀

C#MIT Licensecsharpdotnet
2.2k72
OmniSharp/omnisharp-roslyn

OmniSharp server (HTTP, STDIO) based on Roslyn workspaces

C#MIT Licensecsharpdotnet-sdk
2.1k425