Trying to run sample code in a c# visual studio project. This is what I have done so far
1. Added reference to gnsdk_csharp to project
2. Added gnsdk_csharp_marshal.dll to project with "copy if newer"
3. Added all files from main lib folder for windows to project with "copy if newer"
I've tried using both 32 & 64 bit dll's and both same error. To make it easy I just put all dll's in root of project. Here is arguments using
"123456" "120398a09asdf19922" "License.txt" "." "online"
clientid fake and quotes are for visual reference
When run get error:
An unhandled exception of type 'System.TypeInitializationException' occurred in gnsdk_csharp.dll
Additional information: The type initializer for 'GracenoteSDK.gnsdk_csharp_marshalPINVOKE' threw an exception.