I keep getting the following error:System.BadImageFormatExceptionAny ideas on this?

full error:

System.BadImageFormatException: ‘Could not load file or assembly ‘VideoOS.Platform.SDK.Media, Version=1.0.0.0, Culture=neutral, PublicKeyToken=bc60fba4a7969f89’ or one of its dependencies. An attempt was made to load a program with an incorrect format.’

I have seen this often. You are trying to build 32 bit and the Milestone dll’s are 64 bit. Let me know if this solves it.

ref. https://developer.milestonesys.com/s/article/processor-architecture-compatibility-for-the-Milestone-Integration-Platform-MIP-SDK