roslyn

Visual Basic 2025-07-28

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:

  • dotnet/csharplang for C# specific issues
  • dotnet/vblang for VB-specific features
  • dotnet/csharplang for features that affect both languages

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:

  • Coding guidelines
  • The development workflow, including debugging and running tests
  • Submitting pull requests
  • Finding a bug to fix in the IDE or Compiler
  • Finding a feature to implement in the IDE or Compiler
  • Roslyn API suggestions should go through the API review process

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.*d*ev*.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
  • IDE Services: https://pkgs.*dev.a**zure.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

Desktop Unit Tests

Branch Debug x86 Debug x64 Release x86 Release x64
main

CoreClr Unit Tests

Branch Windows Debug Windows Release Linux
main

Integration Tests

Branch Debug x86 Debug x64 Release x86 Release x64
main

Misc Tests

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

.NET Foundation

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

下载源码

通过命令行克隆项目:

git clone https://github.com/dotnet/roslyn.git