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

Fix probing for the dotnet binary #854

Merged
merged 3 commits into from
Nov 18, 2021
Merged

Conversation

baronfel
Copy link
Contributor

Fixes #853 by updating to ProjInfo 0.55.1, which contains the necessary fix. This came with a slight API surface area change, and we fail-fast in the background services if we can't find the binary now. The same fast failure will happen in the main startup of the app if dotnet can't be found, so it's generally safe to assume that if the parent FSAC process could find it, the spawned background services will as well.

This was tested by building the tool locally, installing it using dotnet tool install --add-source <output dir> fsautocomplete, then running dotnet fsautocomplete, attaching a debugger, and verifying the in state of the program that the correct path to dotnet was found.

@baronfel
Copy link
Contributor Author

note that 13 tests are failing due to fallout from the .net 6 work - these are mostly tests around open namespace functionality.

@baronfel baronfel force-pushed the fix-dotnet-probing branch 2 times, most recently from 6a6ed77 to c6523ce Compare November 17, 2021 03:11
@baronfel baronfel force-pushed the fix-dotnet-probing branch 2 times, most recently from 21e8588 to d516112 Compare November 17, 2021 04:18
@baronfel baronfel merged commit dfcc63d into ionide:main Nov 18, 2021
@baronfel baronfel deleted the fix-dotnet-probing branch November 18, 2021 01:49
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.

Unable to parse sdk version
2 participants