-
Notifications
You must be signed in to change notification settings - Fork 831
Fix send to vsfsi when using older dotnet sdks #15036
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
Conversation
Co-authored-by: Tomas Grosup <[email protected]>
Co-authored-by: Petr Pokorny <[email protected]>
Co-authored-by: Tomas Grosup <[email protected]>
Co-authored-by: Tomas Grosup <[email protected]>
f7b8d6f to
72104a9
Compare
T-Gro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only major comment is parsing of Single with "." without passing in explicit culture.
Either pass in the culture, OR alternatively consider using Version class (had a constructor which takes the full string, therefore avoiding the need for splitting string by dots and then concatenating back).
Plus I do not see the need for "text" in executeTextNoHistory to be lazy, can it be just a plain string?
When using a global.json to pin the version of an sdk to an older one, I.e the last LTS version of the sdk, the F# script displays an obtrusive error when code is sent to fsi. This PR reverts the behaviour to it's original behaviour when using pre-7.0 sdks.
Before and after:
