This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I'm trying to create a program that will use the MSP-GANG, I've built and use the C# code example to program one board. I'm now trying to create a WPF application and after adding the MSP-GANG.dll I am getting "System.BadImageFormatException: An attempt was made to load a program with an incorrect format.(0x8007000B)". I'm using Visual Studio 2022 .Net6.0.
Hi Brandon,
For information on writing your own scripts for MSP-GANG, please see the MSP-GANG User's Guide. Specifically, you may want to look at section 4.
I just needed to change the build Configuration from x64 to x86. Thanks for the help though
**Attention** This is a public forum