I have an F# project that that test in another project, both within the same solution.
NCrunch cannot build the project, and is interpreting argument input type to be tuple instead of single arguments.
If I remove the tests with the mixed up arguments, I get the following exception
System.TypeInitializationException : The type initializer for 'GenericZeroDynamicImplTable`1' threw an exception.
----> System.NullReferenceException : Object reference not set to an instance of an object.
at Microsoft.FSharp.Core.LanguagePrimitives.GenericZeroDynamic[T]()
at Lib.DoStuff[a,a](IEnumerable`1 spectrum) in C:\src\code\code\Functions.fs:line 22
[.....]
--NullReferenceException
at Microsoft.FSharp.Core.LanguagePrimitives..cctor$cont@2366-3[T](Type aty, Unit unitVar)
at Microsoft.FSharp.Core.LanguagePrimitives.GenericZeroDynamicImplTable`1..cctor()
There could be a problem with the LanguagePrimitives?
Now, if I instead of referencing the project I reference its DLL, NCrunch builds and is able to run all tests.
What do you think could be the problem and is there a solution?