C#

Languageby Tori @gettoriApache-2.0Bundled
Runs your project’s code

C# loads code from the project it opens, such as its dependencies or its own configuration. Tori asks before starting it in each project and remembers your answer for that project.

Verified against
csharp-ls 0.28.0Measured Oct 9, 2026
Platforms
macOS, Linux, Windows
Install
Shows how to install itInstall it with dotnet tool install --global csharp-ls.
Needs Tori
26.1009.0 or newer
Schema
Version 1
Id
csharp
Source file
lsp/csharp.toml ↗gettori/packs on GitHub

Add it in Tori

  1. Open Settings with the gear in the title bar.
  2. Go to LSP.
  3. C# is already there: it ships inside Tori. When the catalog has a newer version, Add a language lists it with Update.

Adding writes one file and runs nothing. Tori then shows how to install the tool itself.

Use it without the catalog

Download the file and drop it in the folder below. Tori loads it the next time it starts.

Download file csharp.toml
~/.config/tori/packs/lsp/

The file

csharp.tomlRead only
1# C# via `csharp-ls`, which its own toolchain installs, so Tori2# offers a hint rather than an install. See LSP-SERVERS.md.34schema_version = 15id = "csharp"6label = "C#"7description = "C#, through csharp-ls"8license = "Apache-2.0"9contributor = { name = "Tori", github = "gettori" }10verified_against = "csharp-ls 0.28.0"11verified_on = "2026-10-09"12root_markers = ["global.json", ".git"]13request_timeout_ms = 1200001415# Loads the solution through MSBuild, which runs the project's build tasks.16runs_project_code = true1718[languages]19cs = "csharp"2021[launch]22kind = "path"23program = "csharp-ls"24args = []2526[install]27kind = "hint"28text = "Install it with `dotnet tool install --global csharp-ls`."29update = "dotnet tool update --global csharp-ls"30uninstall = "dotnet tool uninstall --global csharp-ls"