User Experience on mobile might not be great yet, but I'm working on it.

Your first time on this page? Allow me to give some explanations.

Awesome Roslyn

Curated list of awesome Roslyn books, tutorials, open-source projects, analyzers, code fixes, refactorings, and source generators

Here you can see meta information about this topic like the time we last updated this page, the original creator of the awesome list and a link to the original GitHub repository.

Last Update: Aug. 7, 2022, 6:02 p.m.

Thank you ironcev & contributors
View Topic on GitHub:
ironcev/awesome-roslyn

Search for resources by name or description.
Simply type in what you are looking for and the results will be filtered on the fly.

Further filter the resources on this page by type (repository/other resource), number of stars on GitHub and time of last commit in months.

Books

Tutorials

Open Source Projects

C# to JavaScript compiler. Write modern mobile and web apps in C#. Run anywhere with Bridge.NET.

2.27K
306
1y 87d
Apache-2.0

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

541
160
5m
MIT

Pattern matching for Roslyn syntax trees

20
4
4y 5m
LGPL-3.0

Assists in performing Roslyn-based code generation during a build.

401
63
1y 8m
MS-PL

Run C# scripts from the .NET CLI.

1.92K
123
6m
MIT

A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code.

779
98
8m
MIT

MirrorSharp is a code editor <textarea> built on Roslyn and CodeMirror

153
26
8m
BSD-2-Clause

Compiles C# code by first rewriting the syntax trees of LINQ expressions using plain procedural code, minimizing allocations and dynamic dispatch.

693
29
2y 6m
n/a

Roslyn tool that for a given C# program shows syntax tree API calls to construct its syntax tree

649
103
10m
Apache-2.0

Tools to let you use Roslyn-powered C# scripts for code generation

617
73
2y 86d
MIT

Testura.Code is a wrapper around the Roslyn API and used for generation, saving and compiling C# code. It provides methods and helpers to generate classes, methods, statements and expressions.

247
25
5m
MIT

A Roslyn based C# source generation framework

110
8
8m
Apache-2.0

Open Source Analyzers, Code Fixes, and Refactorings

1.19K
371
5m
MIT

An analyzer library for C# and VB that uses Roslyn to produce refactorings, code analysis, and other niceties.

1.07K
288
1y 82d
Apache-2.0

Reports diagnostics for C# coding guidelines that are not already covered by Resharper.

83
25
6m
Apache-2.0

Set of roslyn-based analyzers for catching common C# errors (inspired by Google's error-prone)

617
33
8m
MIT

"AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time.

955
106
6m
MIT

A Roslyn analyzer to improve the experience when working with nullable reference types.

12
2
10m
MIT

Refactoring Essentials for Visual Studio

642
124
2y 10m
MIT

Roslyn based C# heap allocation diagnostic analyzer that can detect explicit and many implicit allocations like boxing, display classes a.k.a closures, implicit delegate creations, etc.

571
58
1y 9m
Apache-2.0

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

2.27K
188
6m
n/a

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

536
184
5m
LGPL-3.0

An implementation of StyleCop rules using the .NET Compiler Platform

2.05K
442
5m
MIT

A collection of static analyzers based on Roslyn that integrate with VS

64
16
1y 11m
GPL-2.0

Libraries and Frameworks for Testing Analyzers, Code Fixes, and Refactorings

Roslyn-SDK templates and Syntax Visualizer

362
194
5m
MIT

A lightweight framework for writing unit tests for Roslyn diagnostic analyzers, code fixes, refactorings and completion providers.

16
5
6m
n/a

Source Generators

Highly efficient compile-time general purpose DI container based on C# source generators.

19
2
6m
MIT

A source code generator for automatically implementing IEquatable<T> using only attributes.

38
5
8m
MIT

Json library that uses .NET 5 Source Generators

130
4
1y 8d
MIT

compile time dependency injection for .NET

591
19
7m
MIT

Low-level, lightweight and performance-focused serializer for C# struct types that uses Source Generators technology.

38
4
1y 9d
MIT

A .NET source generator for creating simple value objects wrapping primitive types.

34
4
1y 4m
MIT

Blog Posts and Articles

Talks