Skip to content

Can we please have the FSharp MSBuild component on Windows runners

Description

The new Windows shared runners are great, thank you! Currently they cannot build F# projects, and it would be fantastic if the MSBuild setup could be slightly modified to allow this.

Proposal

Please can we install the MSBuild component Microsoft.VisualStudio.Component.FSharp.MSBuild along with everything else? The command to do so will be something like: vs_buildtools.exe --quiet --wait --norestart --nocache --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools" --add Microsoft.VisualStudio.Component.FSharp.MSBuild.

Lack of F# build support is the only thing stopping me from moving to these runners; I'd be very appreciative of this change. I tried to run the above command myself but believe I can't because I can't accept the UAC prompt in the CI headless setup.

Thank you again, the Windows runners are a great development.