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.
您好!
我正在尝试创建一个将使用 MSP-GANG 的程序、我已经构建并使用 C#代码示例对一个电路板进行编程。 我现在尝试创建一个 WPF 应用、添加 msp-gang.dll 后显示"System. BadImageFormatException:尝试加载格式不正确的程序。(0x8007000b )"。 我使用的是 Visual Studio 2022 .Net6.0。
尊敬的 Brandon:
有关为 MSP-GANG 编写脚本的信息、请参阅《 MSP-GANG 用户指南》。 具体而言、您可能需要查看第4部分。
我只需要将构建配置从 x64更改为 x86。 感谢您的帮助