Besides FSharpCodeProvider (from PowerPack), what else do you need to compile F # code on the fly?

I compile code on the fly using the FSharpCodeProvider class included in PowerPack libraries. The fact is that in a machine without visual studio 2010 I can only do this as long as I have a standalone F # compiler installed on this machine. Does anyone know if this is so? I am worried that the standalone compiler is only distributed if the CTP application does not have the final version.

thanks

+6
source share
1 answer

You can see in the source code that FSharpCodeProvider calls fsc.exe. So yes, it depends on the F # compiler.

Individual releases of F # are always called CTP (I donโ€™t know why). In the past, it was pointed out that the code is the same as in versions of Visual Studio.

+3
source

Source: https://habr.com/ru/post/918394/


All Articles