-
Notifications
You must be signed in to change notification settings - Fork 73
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
dotnet fsharplint lint ...
fails to run on a machine with only .net X.0 installed, X > 5
#566
Comments
Seems to be a duplicate of #536 |
Probably the simplest fix would be to detect (or specify via command line) the SDK in use & feed that into a manual resolution process if the default doesn't work. |
It would probably be easiest to update the proj-info dependencies, which I believe would also require updating FSharp.Compiler.Service as well. Newer proj-info dependency versions bring better resolution logic here, and better error messages. |
Thinking forwards, the outcome should be resilient to a .net 7.0-only (or 8.0 only) environment without requiring a day 1 update. |
Hit this again, on the eve of the net8.0 release, with a new dev machine that only has SDK v7.0.402 installed (from Visual Studio 17.7), and dotnet-fsharplint 0.21.3 this time. A truly simple fix could be to have a command-line option that takes a path-to-MSBuild and registers it with FWIW, it seems that some time after version 0.53.1, Ionide.ProjInfo has been extended to read the environment for, amongst others, a DOTNET_ROOT variable for the location to search to find an |
dotnet fsharplint lint ...
fails to run on a machine with only .net 6.0 installeddotnet fsharplint lint ...
fails to run on a machine with only .net X.0 installed, X > 5
Description
dotnet fsharplint lint ...
fails to run on a machine with only .net 6.0 installedRepro steps
dotnet fsharplint lint
on any .fsproj fileExpected behavior
Tool runs to analyze project
Actual behavior
Known workarounds
Install out-of-support .net 5.0.408 SDK
Related information
The text was updated successfully, but these errors were encountered: