diff --git a/plugins/dotnet/README.md b/plugins/dotnet/README.md index 1b25dd5b54..f0ca96307c 100644 --- a/plugins/dotnet/README.md +++ b/plugins/dotnet/README.md @@ -12,7 +12,7 @@ Core .NET and C# skills for coding agents. This plugin declares a C# LSP server that is launched through the .NET CLI. Prerequisites: -- .NET SDK installed +- .NET 10 SDK installed - `dotnet` available on PATH ## Skills diff --git a/plugins/dotnet/global.json b/plugins/dotnet/global.json new file mode 100644 index 0000000000..ae42e436bf --- /dev/null +++ b/plugins/dotnet/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "10.0.100", + "rollForward": "latestMajor", + "allowPrerelease": true + } +} \ No newline at end of file diff --git a/plugins/dotnet/lsp.json b/plugins/dotnet/lsp.json index 91c9b4f96d..17a6cfdfb9 100644 --- a/plugins/dotnet/lsp.json +++ b/plugins/dotnet/lsp.json @@ -1,9 +1,8 @@ { "lspServers": { "csharp": { - "command": "dotnet", + "command": "dnx", "args": [ - "dnx", "roslyn-language-server", "--yes", "--prerelease", @@ -11,6 +10,7 @@ "--stdio", "--autoLoadProjects" ], + "cwd": "${PLUGIN_ROOT}", "fileExtensions": { ".cs": "csharp", ".razor": "aspnetcorerazor", @@ -19,4 +19,4 @@ "warmupTimeoutMs": 120000 } } -} +} \ No newline at end of file