Has anyone received a standard opportunity to work in F # CTP?

I may have this completely wrong, but I understand that the -standalone option of the compiler tells the compiler to enable the F # kernel and other dependencies in exe so that you can run it on another machine without installing any โ€œruntimeโ€.

However, I canโ€™t get this to work in CTP - it doesnโ€™t even change the size of the output file (the documents I read say about 1M extra).

"Google can know, but if so, it doesnโ€™t say, or I'm not looking in the right place

UPDATE:

It seems to work with the latest CTP update 1.9.6.2

UPDATE2:

Since then, I have experienced another error:

FSC(0,0): error FS0191: could not resolve assembly Microsoft.Build.Utilities. 

If you are trying to compile --standalone, you must explicitly include them as references in your project.

+6
functional-programming f #
source share
3 answers

Answer from MS:

There is a CTP 1.9.6.2 update that fixes some issues.

Now I'm reinstalling ...

UPDATE: Works for me - so my accepted answer downloads the CTP 1.9.6.2 update .

+4
source share

F # Guide: Static Linking to the F # Library with "--standalone"

Have you tried running the peverify.exe utility?

+1
source share

This has long been domestic hatred (it was violated in every release of the CTP, including the latest release on May 1, 2009, 1.6.16). The "solution" is to write your own build system, which is not broken.

This is a real problem for me, because I have accumulated hundreds of great F # programs that I would like to place on our website, but it takes several hours to create each of them in a standalone executable file.

+1
source share

All Articles