AvaloniaUI / AvaloniaVSCode

Visual Studio Code Extension for Avalonia UI
https://marketplace.visualstudio.com/items?itemName=AvaloniaTeam.vscode-avalonia
MIT License
103 stars 18 forks source link

Use IDotnetAcquireResult for dotnet.findPath result #140

Closed auxym closed 4 days ago

auxym commented 5 days ago

See breaking change in vscode-dotnet-runtime: https://github.com/dotnet/vscode-dotnet-runtime/blob/814208c72c9ecbfdc0d979c486eddfd3915e0b3e/vscode-dotnet-runtime-extension/CHANGELOG.md?plain=1#L22

The findPath command now returns a IDotnetAcquireResult object instead of a string. The string containing the actual path is in the dotnetPath property. With the current code, the result was an "unsupported server configuration" error when starting the LSP client. This PR fixes the error.