Home Forums Legacy SDKs Compile with command line: error CS0009 Reply To: Compile with command line: error CS0009

#2826
Anders
Participant

Hi Dieter,
the reason you cannot reference the TobiiGazeCore dll when compiling is because it isn’t a .NET assembly; it’s a native dll. You should reference the .NET binding assembly instead (Tobii.Gaze.Core.Net.dll). The native dll will be loaded at runtime via P/Invokes so make sure it ends up in the same directory as the executable file.