roslyn README

The project's README from github.com/dotnet/roslyn. As one markdown file: README.md.

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:

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.

roslyn (dotnet/roslyn)

Searching Database…

20.7K ·GitHub
这是什么?.NET Compiler Platform(Roslyn)——C# 和 Visual Basic 编译器的开源实现,并提供丰富的 API,用于构建代码分析工具。
那它是一个我能运行的程序,还是一套我能写代码调用的 API?两者都是:同一套代码既是编译器本身,又对外提供分析 API,所以你通过包或基于它构建的工具来使用它,而不是作为一个独立应用。
如果我想基于它的 API 做开发,怎么获取最新的构建版本?从公开的 NuGet 源拉取最新的预发布构建:Compiler、IDE Services 和 .NET SDK 各自有独立的源。
我对 C# 新语言特性有个想法——应该提交到这个仓库吗?不用——语言特性建议请提交到专门的仓库:C# 用 dotnet/csharplang,Visual Basic 用 dotnet/vblang;影响两种语言的特性也可以提到 csharplang。
既然和 Visual Studio 有关,这是不是只能用在 Windows 上?不是——CI 会在 Windows、Unix/Linux 和 macOS 上运行构建和测试,所以这个编译器是作为跨平台的 .NET 代码库来开发的。
公开 API 的改动有评审环节吗?有。Roslyn 的 API 建议要经过专门的 API 评审流程,所以 API 改动不会直接通过拉取请求合并。
想了解 Roslyn 内部是怎么运作的,我应该读什么?《Roslyn Architecture Overview》——README 把它列为入门 Roslyn API 的推荐起点。
新手可以接手哪些类型的任务?贡献指南建议去找一个要修复的 bug 或要在 IDE 或编译器里实现的功能,里面还涵盖了编码规范、调试和运行测试等内容。
Creator
dotnet
Size
2.6 GB
Stars
20.7K
Age
11y
Commits · 90 Days