Ionide.ProjInfo.FCS
March 12, 2025 ยท View on GitHub
Please install the Ionide.ProjInfo.FCS nuget to gain access to this functionality.
This is a helper library that provides APIs to map Ionide.ProjInfo.Types.ProjectOptions instances to FSharp.Compiler.CodeAnalysis.FSharpProjectOptions instances.
Assuming you've already done the steps in Ionide.ProjInfo to get the ProjectOptions instances, you can use the following code to get the FSharpProjectOptions for those instances efficiently
open Ionide.ProjInfo
let fcsProjectOptions = FCS.mapManyOptions projectOptions