- Home /
Question by
e_svedang · Jun 17, 2014 at 08:35 PM ·
programmingdllmonof#
Using F# dll with discriminated unions in Unity
I'm experimenting with using F# inside Unity. It seems to work OK for very simple cases until I try to make use of 'discriminated unions' defined in the following manner in F#:
type Color = R | G | B
Unity barfs if my F#/C# code uses this type in any way:
TypeLoadException: Could not load type 'Meh' from assembly 'FsharpLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Is this solveable or should I just give up?
Cheers, Erik
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Enumerators and pdb2mdb 1 Answer
Mono.Data.Sqlite vs. System.Data.SQLite 2 Answers
MonoDevelop DLL Build : Problem with default parameters 1 Answer