/roslyn

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

Primary LanguageC#MIT LicenseMIT

Roslyn logo

The .NET Compiler Platform

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

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 Discord or Gitter.

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
main-vs-deps 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
main-vs-deps Build Status Build Status Build Status Build Status

CoreClr Unit Tests

Branch Windows Debug Windows Release Linux
main Build Status Build Status Build Status
main-vs-deps 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
main-vs-deps 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
main-vs-deps 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.