C# Roslyn

Open-source C# projects categorized as Roslyn

Top 23 C# Roslyn Projects

  • Roslyn

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

    Project mention: Ich werde niemals auf Proprietäre r Basis software entwickeln | reddit.com/r/informatik | 2023-05-21

    Der Compiler und das Framework sind Open source zB. https://github.com/dotnet/roslyn

  • Uno Platform

    Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.

    Project mention: Physical IOS device deployment fail | reddit.com/r/unoplatform | 2023-05-23

    You can follow updates here https://github.com/unoplatform/uno/issues/12388.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • Roslynator

    A collection of 500+ analyzers, refactorings and fixes for C#, powered by Roslyn.

    Project mention: does anyone have a working csharp-language-server setup they can share? | reddit.com/r/neovim | 2023-04-24

    There's also this project https://github.com/JosefPihrt/Roslynator that can add even more analyzers.

  • ScriptCS

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

    Project mention: What is the latest on scripting inside of C# (especially for Unity development)? | reddit.com/r/dotnet | 2023-02-22


  • dotnet-script

    Run C# scripts from the .NET CLI.

    Project mention: REST API using C# .NET 7 with MySql | dev.to | 2023-05-24

    I usually create a container that has all database migrations and tool to execute those migrations. I name migrations as [yyyyMMdd-HHmm-migration-name.sql] but please feel free to use any naming scheme, keep in mind how the tool would order multiple files to run those migrations. I have also added a wait-for-db.csx file that I would use as the entry point for database migrations container. This is a dotnet-script file and would be run using dotnet-script. I have pinned the versions that are compatible with .net sdk 3.1 as this the version roundhouse is build against at the time of writing.

  • PeachPie

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

    Project mention: Compress PHP applications into one binary | reddit.com/r/PHP | 2023-04-07
  • RoslynPad

    A cross-platform C# editor based on Roslyn and AvalonEdit

    Project mention: How to install RoslynPad on Mac | reddit.com/r/csharp | 2023-01-10

    First - follow instruction in official Git account https://github.com/roslynpad/roslynpad:

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • omnisharp-roslyn

    OmniSharp server (HTTP, STDIO) based on Roslyn workspaces

    Project mention: Nvim 0.9.1 released (bugfix release) | reddit.com/r/neovim | 2023-05-29

    I solved it using the workaround at the end of this issue thread in omnisharp-roslyn

  • mapperly

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

    Project mention: Is Automapper the most hated library? | reddit.com/r/dotnet | 2023-05-12

    There are alternatives doing this already e.g. https://github.com/riok/mapperly

  • 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: Multi-targeted library, with a recent Language Version | reddit.com/r/dotnet | 2023-05-09

    Or the PolySharp NuGet package, which uses source generators to polyfill the language features you're actually using.

  • jab

    C# Source Generator based dependency injection container implementation.

    Project mention: Injectio - Source Generator for Dependency Injection | reddit.com/r/csharp | 2022-11-04
  • security-code-scan

    Vulnerability Patterns Detector for C# and VB.NET

  • CodeConverter

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

  • sonar-dotnet

    Code analyzer for C# and VB.NET projects https://redirect.sonarsource.com/plugins/vbnet.html

    Project mention: top 5 things every c# developer should know | reddit.com/r/csharp | 2022-12-25


  • Meziantou.Analyzer

    A Roslyn analyzer to enforce some good practices in C#.

    Project mention: Can I disable the use of html tags in Blazor pages? | reddit.com/r/Blazor | 2023-01-02

    Nevermind, I already write my analyzer using this repository as a sample: https://github.com/meziantou/Meziantou.Analyzer/

  • Buildalyzer

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

    Project mention: Has anyone given up on SourceGenerators and now use MsBuild Hooks to run custom code generators? | reddit.com/r/csharp | 2022-12-26

    https://github.com/daveaglick/Buildalyzer <-- Love this library.

  • roslyn-sdk

    Roslyn-SDK templates and Syntax Visualizer

    Project mention: *ducks* | reddit.com/r/ProgrammerHumor | 2022-06-01

    Here's an example of generating a csv parser that at compile time takes an example csv file, creates a class with properties named after the headers with data types based on whatever data is in the first row. https://github.com/dotnet/roslyn-sdk/blob/main/samples/CSharp/SourceGenerators/SourceGeneratorSamples/CsvGenerator.cs

  • PluginFramework

    Everything is a Plugin in .NET

    Project mention: Good Module framework for c# desktop applications? | reddit.com/r/dotnet | 2023-01-21
  • 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

  • Westwind.Scripting

    Small C# library to provide dynamic runtime code compilation from source code for code and expressions execution

    Project mention: [OC] Options for Runtime (Dynamic) Scripting for .NET [C#, Scripting, Modding] | reddit.com/r/GodotCSharp | 2023-01-15
  • LinqGen

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

    Project mention: Worth it or not worth it? A burst-able Linq with source generator | reddit.com/r/Unity3D | 2022-12-30
  • Waf DotNetPad

    The Waf DotNetPad is a simple and fast code editor that makes fun to program with C# or Visual Basic.

  • Uno.SourceGeneration

    A Roslyn based C# source generation framework

    Project mention: Without Blazor WebAssembly, develop a web site that compiles and runs C# code on browser | reddit.com/r/csharp | 2023-02-09

    Uhhh I've never used Roslyn but I know this https://github.com/unoplatform/Uno.SourceGeneration


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

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). The latest post mention was on 2023-05-29.

C# Roslyn related posts


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

Project Stars
1 Roslyn 17,433
2 Uno Platform 7,663
3 Roslynator 2,692
4 ScriptCS 2,419
5 dotnet-script 2,309
6 PeachPie 2,186
7 RoslynPad 1,950
8 omnisharp-roslyn 1,517
9 mapperly 1,390
10 PolySharp 1,260
11 jab 892
12 security-code-scan 847
13 CodeConverter 687
14 sonar-dotnet 630
15 Meziantou.Analyzer 559
16 Buildalyzer 514
17 roslyn-sdk 452
18 PluginFramework 451
19 Mockaco 281
20 Westwind.Scripting 142
21 LinqGen 130
22 Waf DotNetPad 125
23 Uno.SourceGeneration 123
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises