F # powerpack and distribution

I need arbitrary exact rational numbers, which I have been given to understand, are available in Powerpack F #. My question is about distribution mechanics; my program should be able to compile and run on both Windows / .Net and Linux / Mono, at least since I have potential users on both platforms. As far as I understand, the best procedure:

  • Download the PowerPack.zip file, not the installer.

  • Copy the DLL to the directory of my program.

  • Copy the license accompanying file to my program directory to make sure everything is above the board.

  • Post links and continue and use the features I need.

  • Send the above files along with my source and binary, and since the DLL uses byte code, it works fine on any platform.

Is this the right procedure? Did I miss something?

+3
source share
1 answer

You are essentially right, arbitrary precision rational numbers are only available in PowerPack ( BigIntegerpart of .NET 4.0, but rational ones are still F # specific).

However, you will also need to distribute your program with distributed F # runtime (this is an assembly FSharp.Core.dll). It contains some basic F # types (such as types used to represent functions) that are not part of the standard .NET runtime.

, . , . , .NET Mono (- ) FSharp.Core.dll FSharp.PowerPack.dll.

  • F # Redistributable F # PowerPack GAC ( ), .NET- . Mono , gacutil tool ( ). - ( ) . GAC.

  • , , (exe file), .NET, Mono , . , , (, ), , .

, .NET/Mono, ( xcopy depoloyment).

+5

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


All Articles