vscode-csharp VS Roslyn

Compare vscode-csharp vs Roslyn and see what are their differences.

vscode-csharp

Official C# support for Visual Studio Code (by dotnet)

Roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs. (by dotnet)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
vscode-csharp Roslyn
15 166
2,913 19,370
0.4% 0.7%
9.8 10.0
6 days ago 4 days ago
TypeScript C#
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

vscode-csharp

Posts with mentions or reviews of vscode-csharp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-09-29.

Roslyn

Posts with mentions or reviews of Roslyn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-03-07.
  • Introducing command and commandfor in HTML
    5 projects | news.ycombinator.com | 7 Mar 2025
    C# has COMEFROM, too: https://github.com/dotnet/roslyn/blob/main/docs/features/int...

    they make it cumbersome to use by hand, but not impossible

  • It is not a compiler error. It is never a compiler error (2017)
    4 projects | news.ycombinator.com | 23 Feb 2025
    >> It is not a compiler error. It is never a compiler error (2017)

    No, not always true. Even in modern compilers -- as matured and as modern as VS 2022-- you would still get bug.

    I found one[0]. In my case it's easy to tell it's a compiler bug because the program just can't compile properly. But it's also not easy to reproduce, which just proves how well tested compilers usually are.

    0: https://github.com/dotnet/roslyn/issues/74872

  • How to update library and get swamped with this task.
    2 projects | dev.to | 27 Dec 2024
    MSBuildLocator for .NET Framework can only search for MSBuild 15, 16, 17 (Visual Studio 2017, 2019, 2022). So, if a user has a fairly old project and is using Visual Studio 2015, Roslyn won't be able to find a suitable MSBuild. Even if the project is fully built on the system, Roslyn simply won't work. We've reported this issue on GitHub. To cut a long story short, the devs don't prioritize it, citing that VS 2015 and earlier versions are just outdated. However, it turns out that if the user has the .NET SDK, Roslyn starts using a backup plan. If you have a .NET Framework legacy project, Roslyn will try to use BuildHost for .NET Core. Most of the time, this works fine, but issues can occur if there's something that isn't supported by MSBuild for .NET Core. You'll see this in the description of the third issue.
  • Visual Studio Code is designed to fracture
    20 projects | news.ycombinator.com | 29 Sep 2024
    C# extension works well and uses Roslyn Language Server that is part[0] of the Roslyn (C# compiler) - this is what the base C# extension[1] uses. Both of these are licensed under MIT.

    The only closed-source component is 'vsdbg' which is Visual Studio's debugger shipped as a component that the extension uses. It, however, can be replaced with Samsung's 'NetCoreDbg' by using the extension fork[2].

    [0]: https://github.com/dotnet/roslyn/tree/main/src/LanguageServe...

    [1]: https://github.com/dotnet/vscode-csharp

    [2]: https://github.com/muhammadsammy/free-vscode-csharp

  • Am writing a software used to manage elections in Kenya
    1 project | news.ycombinator.com | 31 Aug 2024
  • The main features I want for C#
    1 project | dev.to | 27 Jul 2024
    see also: https://github.com/dotnet/roslyn/pull/7850
  • What do I think about Lua after shipping a project with 60k lines of code?
    16 projects | news.ycombinator.com | 1 Jun 2024
    The .NET runtime[1] and C# compiler[2] are both pretty easy to embed.

    [1] https://learn.microsoft.com/en-us/dotnet/core/tutorials/netc...

    [2] https://github.com/dotnet/roslyn/blob/main/docs/wiki/Scripti...

  • The search for easier safe systems programming
    11 projects | news.ycombinator.com | 8 May 2024
    The C# compiler has an MIT license and is available on GitHub, which is about as FOSS as it gets.

    https://github.com/dotnet/roslyn

  • Asynchronous Programming in C#
    9 projects | news.ycombinator.com | 30 Apr 2024
    My understanding is that the .NET team is working toward this with Interceptors: https://github.com/dotnet/roslyn/blob/main/docs/features/int...
  • The Performance Impact of C++'s `final` Keyword
    6 projects | news.ycombinator.com | 22 Apr 2024
    .NET is a little smarter about switch code generation these days: https://github.com/dotnet/roslyn/pull/66081

What are some alternatives?

When comparing vscode-csharp and Roslyn you can also consider the following projects:

free-vscode-csharp - Free/Libre C# support for VSCode-compatible editors

Mono-basic - Visual Basic Compiler and Runtime

csharper - VS Code Extension to easily create templated C# files

F# - Please file issues or pull requests here: https://github.com/dotnet/fsharp

UnitGenerator - C# Source Generator to create value-object, inspired by units of measure.

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

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?