AFAIK, there is no way to do this. F# is not supported by Roslyn, so you will need to do everything including integration with VS yourself.
You can look how the parsing of text is done with this SO question: Parse a text-string to F#-code
I would also look into existing F# projects like Fantomas to see how they parse code: