I think this is defenitly a bug and one that is urgent because we cannot deploy to our production server.
I have attached the solution so you can reproduce together with a screenshot of the error.
I have to set the application pool to 32bit to make it run (and it runs ok in that case)
Can you a.confirm this and b.provide a quic fix ?
Thanks in advance !
The error is
is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)