Unable to call types from assembly in LinqPad (6, x64)
I am new to the tool, but excited to use it actively. However, when I try to load a custom data type (mass spectrometry data) through an assembly, I get a nullreference exception. The assembly only works for x64 platforms, this is a known issue. but it does work in visual studio provided I set my build target to x64.
ThermoRawFile rawfile = new ThermoRawFile(); //nullref error thrown here. rawfile.SetCurrentController(ThermoRawFile.CONTROLLER_MS, 1); Console.WriteLine(rawfile.GetNumSpectra());
The same code works perfectly fine in visual studio... I am able to load other classes from other assemblies without issues as well.
Any suggestions? if need be I could privately share the DLL files.