-
Notifications
You must be signed in to change notification settings - Fork 158
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
System.Array Not Found Error #1006
Comments
We don't currently support running on 6.0.400 or the 7.0.100 previews, though there is a WIP PR [#999] that tracks adding and releasing that support. |
@baronfel I downgraded to 6.0.400 and still getting the same error. Although I think the version in my project shouldn't matter, since the fsautocomplete tool has it's own version in the tool bundle, no? |
I would expect the same error in certain situations on 6.0.400 - as I said we don't support it fully at the moment. The FSAC tool does not bundle the SDK in any way - in fact the opposite, it relies on the version of the SDK you point it at implicitly via your global.json. |
Oh sorry i misread as you support 6.0.400 not the 7.0.100 preview. My mistake. Downgraded my project global.json to 6.0.302 and it works now. |
Hello, @baronfel . |
I installed .NET SDK 6.0.302 ( Due to this error, some of following requests (semanticTokens) This is log from ionide-vscode-fsharp:
Machine Info
|
The crash is coming from https://github.com/fsharp/FsAutoComplete/blob/d74332594a29b8bae412032a2e75a4818f7a633f/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs#L810 The solution seems to be to manually provide additional arguments to fsac at startup. This works for me on linux with neovim-lsp client. |
Interesting - we should default to CWD for that parameter (see https://github.com/fsharp/FsAutoComplete/blob/main/src/FsAutoComplete/Parser.fs#L91-L97), does something about that cause a problem? Should we change the default for that 'state directory' to something other than the current directory? |
Adaptive doesn't use the state-directory so setting that wouldn't change its behavior. Anything related to |
I might get the same error. This happens upon trying to launch it within Helix.
Thanks a lot dotnet --version fsautocomplete --version |
I'm running with
fsautocomplete --background-service-enabled --verbose
and the logs show:The main error being
internal error: One or more errors occurred. (Assembly: The system type 'System.Array' was required but no referenced system DLL contained this type, full path: System.Array)
I'm on an Arm Mac, and running dotnet
7.0.100-preview.7.22377.5
.When I run the Troubleshoot Server command in Sublime Text, the server doesn't respond with any output:
Troubleshooting: fsautocomplete
Version
Server Test Run
Server Configuration
The text was updated successfully, but these errors were encountered: