Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use IDotnetAcquireResult for dotnet.findPath result #140

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

auxym
Copy link

@auxym auxym commented Nov 20, 2024

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant