Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Besides FSharpCodeProvider (from PowerPack), what else in needed for compiling F# code on the fly?

I'm compiling code on the fly using the FSharpCodeProvider class coming on the PowerPack libraries. The point is that in a machine without visual studio 2010 I'm able to do that only as long as I have the F# standalone compiler installed in that machine. Does anybody know if that's the way it is supposed to be? My concern is that the standalone compiler is distributed only as CTP software not having a final release version.

thanks

like image 601
Fsharpnewbie Dev Avatar asked Jun 18 '12 18:06

Fsharpnewbie Dev


1 Answers

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

The standalone F# releases are always called CTP (not sure why). In the past it's been stated that the code is the same as in the Visual Studio releases.

like image 167
Daniel Avatar answered Sep 20 '22 12:09

Daniel