Be warned that this does not count if you will be able to export the software on other machines, currently I have only tried it in the Unity player. I don't know if it runs on a system without System.Valuetuple
- Create an F# DLL in Visual Studio 2017. Target .net 4.6. Remember to update your system.valuetuple via nu.get
- Open Unity and enable .NET 4.6 support as written here .NET 4.6 Framework Issue. Once you refresh Unity you will be able to use either .NET or ILCPP
- Use the DLL as written in the Unity Documentation. You probably need to copy into your Assets library FSharp.Core along with your library.
Update 1: