There are a lot of questions on this forum about the BadImageFormatException
, but none quite matches my issue.
I have a solution containing several proj
You can use Fuselogvw.exe. This utility dumps all Fusion activity to a log. You can then go through the log and check which DLL is of the wrong format. You have to also see what AgileEFLib
actually depends on. Maybe the DLL itself is not the problem but one of its dependencies.
I guess that one of the dependency DLLs in your website is compiled as an x86.
Edit: Also see Dependency Walker. This one shows all dependencies and their architecture.