System.Reflection.ReflectionTypeLoadException Custom Dll mathnetnumerics

I’m having major problems when i tried to use the dll in unity3d it gave me this error
i already tried placing the dll in the asset folder, or even in the plugin folder,even setting the meta force visible text but its still the same result.

Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.

at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)

Here is the dll i tried to use
https://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=mathnetnumerics&DownloadId=886780&FileTime=130516744742870000&Build=20941

ok i found a clue if the dll that i downloaded is in the asset and i tried to add a c# script even if it's empty its giving me an error

1 Answer

1

OK i kidda fixed it but it can’t be exported only run on editor

The temporary fix i did was only include:
MathNet.Numerics.pdb ,
MathNet.Numerics.dll ,
MathNet.Numerics.xml ,
System.Threading.dll ,
System.Threading.xml ,
Anything that is not listed are not imported