NogginBops / ImGui.NET_OpenTK_Sample

A sample project showing an ImGui (using ImGui.NET) renderer for OpenTK in C#
106 stars 27 forks source link

Potential fix for BadImageFormatException #2

Open michauorin opened 4 years ago

michauorin commented 4 years ago

The dll exception is thrown because VS on build is copying the wrong cimgui.dll version.

If target architecture is set to x64 VS on build still copies the x86 version it seems, manually replacing the dll allows the build to run. I don't know enough about the build process to fix it but leaving that out here in case someone needs x64 or has an idea how to fix it.