Files
dotnet__skills/plugins/dotnet/lsp.json
T
Joey Robichaud 998ae28063 Update lsp.config to invoke dnx from the plugin directory (#607)
Due to the behavior of dotnet SDK resolution when running in repos which use a global.json, we are not gaurenteed that the choosen SDK will be new enough to support the dotnet dnx command which we were using to install and run the roslyn-language-server. Instead, we will ship our own global.json and configure the current working directory to be the plugin directory.
2026-06-05 14:25:46 -07:00

22 lines
430 B
JSON

{
"lspServers": {
"csharp": {
"command": "dnx",
"args": [
"roslyn-language-server",
"--yes",
"--prerelease",
"--",
"--stdio",
"--autoLoadProjects"
],
"cwd": "${PLUGIN_ROOT}",
"fileExtensions": {
".cs": "csharp",
".razor": "aspnetcorerazor",
".cshtml": "aspnetcorerazor"
},
"warmupTimeoutMs": 120000
}
}
}