to get the SDK running with C# on mac you should:
- Copy EDSDK.framework and DPP.framework into your built *.app in the folder "Contents/Frameworks/" (you might need to create this folder)
Add a App.config file to your project with the following content:
<?xml versin="1.0"?> <configuration> <dllmap dll="EDSDK" target="@executable_path/../Frameworks/EDSDK.framework /EDSDK" /> </configuration>
In the wrapper class where you do the P/Invoke you need to change
[DllImport("EDSDK.dll")]
to
[DllImport("EDSDK")]
(using dllmap with dll="EDSDK.dll" sadly doesn't work, you'll have to stick to "EDSDK" or any other name without .dll)
If you follow these steps your program will work perfectly fine.
Kind regards