-
Couldn't load subscription status.
- Fork 833
Description
This may be more relevant to people working with developing the compiler itself, but I often find myself wondering what compiler is being configured from my Visual Studio. Having both VS 2022, older version and VS 2022 Preview, plus the one compiled by the F# repo, I'm often not 100% sure what version I'm using.
This is even more relevant when reporting bugs. People tend to be behind on updates, so having the FSC (or VS or whatever) dump the version of FSC just before compiling helps identifying where they’re at.
Another use case is in CI, which can have slightly different versions of FSC. As such, dumping the version for comparison may help analyse spurious bugs.
Proposed solution
Instead of this:
Build started...
1>------ Build started: Project: My.Extensions.Actions, Configuration: Debug Any CPU ------
2>------ Build started: Project: My.Extensions.Security, Configuration: Debug Any CPU ------
I'd like to see this instead:
Build started using fsc version 6.0.12345-beta45678...
1>------ Build started: Project: My.Extensions.Actions, Configuration: Debug Any CPU ------
2>------ Build started: Project: My.Extensions.Security, Configuration: Debug Any CPU ------
It may also be reported on each individual project, if that makes more sense.
Describe alternatives you've considered
Well, I tried using --version on fsc but that crashed Visual Studio (#13549). This has meanwhile been fixed (#13702), but the solution suppresses the version output, as opposed to showing it.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status