F # how can I compile and then release the .fsx file

Hi, I made a simple program in f # and windows forms, how can I create an exe and then send it to friends for testing? I did not find anything in the debug folder.

+4
source share
2 answers

You can create an executable file from an FSX file, but this script is not supported by Visual Studio out of the box. If you have reached this stage because you are using F # for the first time, and the difference between the fsx and fs files was unclear, I would recommend turning your code into a .fs file and moving from there.

If you have a reason to compile the fsx file (there are some!) Then read ...

F # FSX , .

-, script #load #r, #if INTERACTIVE.

-, : , F # .

MSDN, , F #, fsharpc, fsc, Visual Studio.

, , , , :

fsc.exe -r System.Xml --target:exe myProgram.exe MyScript.Things.fsx MyScript.fsx
+4

.fsx, DevOps, , :

  • CI, , .

, , @mavnn .

, - script ( , , , ).

, , GitLab. .

+2

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


All Articles