C# Roslyn

Open-source C# projects categorized as Roslyn

Top 23 C# Roslyn Projects

  1. Roslyn

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

    Project mention: I'm writing a history of Visual Basic, Chapter 1 is up | news.ycombinator.com | 2026-05-11

    VB.NET is open source, supports AOT, and there is little else that VB 6 does better, other than COM integration, which .NET was always a bit lower level

    https://github.com/dotnet/roslyn

    Now I bet what you mean is the graphical part, and yes that is only partial open source.

  2. ReSharper

    ReSharper is now available in VS Code and Cursor. ReSharper brings a professional toolset for C# developers backed by over 20 years of experience, enterprise-grade security, SOC 2 compliance, and the trust of companies worldwide.

    ReSharper logo
  3. Uno Platform

    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.

    Project mention: Saying Goodbye to Asm.js | news.ycombinator.com | 2026-05-20

    > I like WASM and I want to like WASM but the rate of maturity within the ecosystem is incredibly abysmal.

    The C# toolchain for WebAssembly is pretty good. You can do a lot with Avalonia and Uno:

    https://avaloniaui.net/

    https://platform.uno/

    Here's a C# clone of Visual Basic compiled to WebAssembly:

    https://bandysc.github.io/AvaloniaVisualBasic6/

  4. mapperly

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

  5. Roslynator

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

  6. dotnet-script

    Run C# scripts from the .NET CLI.

  7. RoslynPad

    Cross-platform C# editor based on Roslyn

  8. ScriptCS

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

  9. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  10. PeachPie

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

  11. NetPad

    A cross-platform C# editor and playground.

  12. 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! 🚀

    Project mention: Comptime – C# meta-programming with compile-time code generation and evaluation | news.ycombinator.com | 2025-12-20

    You add PolySharp to your source generator project to get back some of the modern C# features. https://github.com/Sergio0694/PolySharp

  13. omnisharp-roslyn

    OmniSharp server (HTTP, STDIO) based on Roslyn workspaces

  14. jab

    C# Source Generator based dependency injection container implementation.

  15. Meziantou.Analyzer

    A powerful C# Roslyn analyzer that uses static analysis to detect bugs, surface security issues, and enforce best practices—helping developers and AI write more reliable code.

  16. security-code-scan

    Vulnerability Patterns Detector for C# and VB.NET

  17. sonar-dotnet

    Code analyzer for C# and VB.NET projects

  18. CodeConverter

    Convert code from C# to VB.NET and vice versa using Roslyn

  19. Buildalyzer

    A utility to perform design-time builds of .NET projects without having to think too hard about it.

  20. PluginFramework

    Everything is a Plugin in .NET

  21. FastCloner

    The fastest deep cloning library for .NET – zero-config, works out of the box.

  22. Mockaco

    🐵 HTTP mock server, useful to stub services and simulate dynamic API responses, leveraging ASP.NET Core features, built-in fake data generation and pure C# scripting

  23. LinqGen

    Alloc-free and fast replacement for Linq, with code generation

  24. Westwind.Scripting

    Dynamically compile and execute C# Code and Expressions at runtime. Also includes a light weight script templating engine using Handlebar style C# syntax.

  25. AsyncFixer

    AsyncFixer: Async/Await Analyzers and Code Fixes

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C# Roslyn discussion

Log in or Post with

C# Roslyn related posts

  • Introducing Fuse v5: Up to 7.4x Faster dotnet build and 5.7x Faster dotnet test for AI Agents

    4 projects | dev.to | 30 Sep 2026
  • I'm writing a history of Visual Basic, Chapter 1 is up

    1 project | news.ycombinator.com | 11 May 2026
  • Unions merged into .NET 11 SDK Preview 3

    1 project | news.ycombinator.com | 11 Mar 2026
  • Banned C++ Features in Chromium

    3 projects | news.ycombinator.com | 23 Jan 2026
  • How to update library and get swamped with this task.

    2 projects | dev.to | 27 Dec 2024
  • PeachPie Compiler: Compile and run PHP on top of .NET runtime

    4 projects | news.ycombinator.com | 8 Oct 2024
  • Meziantou.Analyzer alternatives - Roslynator and sonar-dotnet

    3 projects | 28 Sep 2024
  • A note from our sponsor - AppSignal
    www.appsignal.com | 16 Oct 2026
    APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product. Learn more →

Index

What are some of the best open-source Roslyn projects in C#? This list will help you:

# Project Stars
1 Roslyn 20,720
2 Uno Platform 10,080
3 mapperly 4,180
4 Roslynator 3,488
5 dotnet-script 3,012
6 RoslynPad 2,826
7 ScriptCS 2,481
8 PeachPie 2,481
9 NetPad 2,281
10 PolySharp 2,235
11 omnisharp-roslyn 2,069
12 jab 1,252
13 Meziantou.Analyzer 1,206
14 security-code-scan 972
15 sonar-dotnet 920
16 CodeConverter 914
17 Buildalyzer 688
18 PluginFramework 600
19 FastCloner 373
20 Mockaco 351
21 LinqGen 316
22 Westwind.Scripting 255
23 AsyncFixer 213

Sponsored
ReSharper is now available in VS Code and Cursor
ReSharper brings a professional toolset for C# developers backed by over 20 years of experience, enterprise-grade security, SOC 2 compliance, and the trust of companies worldwide.
www.jetbrains.com

Did you know that C# is
the 12th most popular programming language
based on number of references?