I am trying to use csUnit to test my application but it fails to start (BadImageFormatException). The application runs ok by itself when it is not loaded from csUnit. The machine is running 64bits Vista, application is compiled under Visual Studio Express 2008 for solution platform x86, and it is loading a 32bit c++ dll.
I've tried to recompile csUnit to target the x86 platform but it fails with:
The command "copy C:\Play\csUnit.Sources\csunit\csUnitCmd\bin\Debug\csUnitCmd.* C:\Play\csUnit.Sources\csunit\csUnit4VS2005\bin\x86\Debug\" exited with code 1. C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets 895 9 csUnit4VS2005
Is it possible for you to release the application compiled to target x86 rather than Any CPU that it is currently set to?