In Visual Studio 2010, My client is requiring me to target the mvc 2 web application to x64 since it would be running on a virtual server. I have three projects in my solution
Previously the settings were
Domain Configuration: Active Debug, Platform Active x86 Platform: Any CPU Pdf Configuration: Active Debug Platform Any CPU Platform: Any CPU WebUI Configuration: Active Debug Platform Active x86 Platform: Any CPU
I changed the Platform to x86 in all three projects and solution configuration as well and when I try to run the web UI application locally on my dev machine, I get the following error
Could not load file or Assembly 'Domain' or one of its dependencies. An attempt was made to load a program with an incorrect format
I checked in the Domain Project refrences and the only third part DLL I have is Dapper and I don't think DLL is causing the issue, rest of the dlls referenced in this project are Entity framework, and other Microsoft dlls. I do not have IIS installed on my machine so there isn't any other setting which is wrong. Any ideas?