Add #version;; directive to F# Interactive#19332
Conversation
❗ Release notes required
|
db76027 to
4b4cfea
Compare
|
Thank you 👍 . Two bonus ideas if doable and if you think they are good additions: The same F# binary can be configured (VS options, directory.props,..) to serve different F# Language version, maybe show that as well? The same for FSharp.Core version - often not clear where FSharp.Core comes from (from VS, from SDK, from project,...). From a perspective of a person who reads bugs reports, all of those make sense 👍 . |
4b4cfea to
1ee5705
Compare
|
Done! I've added both the F# language version and FSharp.Core version to the output. |
|
Thanks for doing the additions, this is nice 👍 |
Head branch was pushed to by a user without write access
a89aa71 to
0b3b9ae
Compare
Prints version, language version, FSharp.Core version, .NET runtime, and OS/architecture info on demand — useful for debugging and bug reporting when the startup banner has scrolled away. Closes dotnet#13307.
0b3b9ae to
d23f69b
Compare
|
Moved the release notes entry from 10.0.300.md to 11.0.100.md because the CI check is looking for the latter. Not sure if that's the right file or if the check is misconfigured — happy to move it back if needed. |
Description
Users with multiple F#/SDK/VS installations often need to identify which FSI they're running. The startup banner shows the version, but it scrolls away quickly. This adds a
#version;;directive that prints version and environment info on demand — useful for debugging and bug reporting.Example output:
Fixes #13307
Checklist