-
Notifications
You must be signed in to change notification settings - Fork 156
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
Unable to parse sdk version #853
Comments
I think this is the same issue raised at the proj-info repo here. if you set the environment variable "DOTNET_HOST_PATH" to the full path to the |
That worked, thanks! I just added a |
glad to hear it. we'll be tackling the underlying bug hopefully for the next set of releases, since that bug is also hitting FSharp.Formatting and others. |
A fix for this should have been pushed in 0.49.2, please let me know if it works out for you! |
Howdy again. I upgraded
With or without the
I haven't tweaked my |
Is there any way of getting the exact command line that's being invoked here? It seems like that |
I think it's just the default one from https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#fsautocomplete (I haven't overridden that configuration anywhere). I get the same when I run that directly:
|
oh you've got the package installed globally - can you try a local install? global installs can be invoked via |
Nice, that worked! Maybe I'll submit a PR to update https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#fsautocomplete, since I believe it suggests global installation as preferred. Thanks again! |
I think there's a way for us to support global and local installs if I revert the name change, but TBH I kinda want to discourage global installs (since they can negatively impact projects). |
I've pulled 0.55.2 of proj info and 0.49.2 of FSAC because of crippling bugs in project cracking due to the change in 0.55.2. without DOTNET_HOST_PATH set the compiler doesn't return the correct set of references for a project for reasons that are unknown to me, and so systems would now require this setting. In the interim please stay on 0.49.1 of FSAC and set your DOTNET_HOST_PATH explicitly. I know this is a pain, but this change would break the broader Ionide ecosystem if it got pushed out so out of an abundance of caution this is the route we've chosen. An example of the malformed results can be seen here |
This should be fixed in FSAC 0.49.3 again. |
Howdy,
Ran into an issue after upgrading .NET SDK to version 6.0.100 on macOS (Mach-O 64-bit executable arm64). Here's output I'm seeing when running
dotnet fsautocomplete --background-service-enabled
:I installed via
dotnet tool install --global fsautocomplete
and am trying to run in Neovim (NVIM v0.5.1) using the built-in LSP client. I'm using the example config from neovim/nvim-lspconfig; here's the relevant portion:The project was setup using the directions at https://fsharp.org/use/mac/. Let me know if there's any other info I can provide or if I missed anything. Thanks!
The text was updated successfully, but these errors were encountered: