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 dotnet that spawned FSAC as an input to SDK discovery #958

Merged
merged 1 commit into from Jul 10, 2022

Conversation

baronfel
Copy link
Contributor

@baronfel baronfel commented Jul 6, 2022

may fix some cases presented in ionide/ionide-vscode-fsharp#1697.

Instead of delegating to the probing in proj-info, when we've been launched by a dotnet command (which IMO is the common case - only scenario when that's not the case is a global .NET tool install) we can use the path to that dotnet binary to skip the probing in proj-info that finds the dotnet binary. We still do SDK probing, but we remove a big case of potential errors.

@baronfel baronfel merged commit 9535bfb into ionide:main Jul 10, 2022
@baronfel baronfel deleted the provide-dotnet-host-path branch July 10, 2022 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant