Skip to main content
Any Framework

Package Description More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/d74775a9e15f1ec193c5cc4dd37653b5ef447a2c.

Published
Jun 3, 2026
4mo ago
Total Downloads
8.0K
8,027

Install

dotnet add package roslyn-language-server.linux-arm64 --version 5.9.0-1.26303.1

No framework information available.

README

roslyn-language-server

A Language Server Protocol (LSP) implementation for C# and Razor powered by Roslyn.

Overview

The roslyn-language-server is a .NET tool that provides rich language features for C# and Razor through the Language Server Protocol. It powers editor integrations including the C# extension for Visual Studio Code and C# Dev Kit.

This tool implements the LSP specification, enabling features such as:

  • IntelliSense (code completion)
  • Go to definition
  • Find all references
  • Code fixes and refactorings
  • Diagnostics and errors
  • Hover information
  • Document formatting
  • And more

Installation

Install the language server as a .NET tool:

dotnet tool install --global roslyn-language-server --prerelease

Usage

The language server is designed to be launched by editor clients and typically should not be run directly by end users. It communicates via standard input/output or named pipes.

Command-line Options

All options are optional. One of --stdio or --pipe should typically be specified for communication.

Note: Command-line options are subject to change in future versions.

  • --stdio - Use standard I/O for communication with the client (default: false)
  • --pipe <name> - Use a named pipe for communication
  • --autoLoadProjects - Automatically discover and load projects based on workspace folders (default: false)
  • --logLevel <level> - Set the minimum log verbosity: Trace, Debug, Information, Warning, Error, or None (default: Information)
  • --extensionLogDirectory <path> - Directory for log files
  • --extension <path> - Load extension assemblies (can be specified multiple times)
  • --debug - Launch the debugger on startup (default: false)
  • --telemetryLevel <level> - Set telemetry level: all, crash, error, or off (default: off)
  • And other specialized options for advanced scenarios

Example

roslyn-language-server --stdio --autoLoadProjects

Requirements

  • .NET 10.0 or later runtime

More Information

License

This tool is part of the .NET Compiler Platform ("Roslyn") and is licensed under the MIT license.

Changes from Previous Version

No structural changes between v5.8.0-1.26266.2 and v5.9.0-1.26303.1.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.