Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
While Rebuilding my project, I get following error. I set the target platforms to X64 but why does this error come up?

VB
Error   1   File 'IMServer.exe' of project output 'Primary output from IMServer (Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86'  D:\VSS 2008\CBE SSE\CBE SSE\CBE Server\CBEServerInstaller\CBEServerInstaller.vdproj CBEServerInstaller



Thanks
Posted

You might be using some assemblies in your project that are specifically targeted to x86. In that case you can not set the target platform of your project as x64. It must be x86. Note that most x86 applications also runs on x64 platform ( remember some applications like Microsoft Ink Analyzers don't). So in case of such dependency issues, it is fine to set the target assembly to x86.
 
Share this answer
 
Comments
Furqan Sehgal 20-Jan-13 6:31am    
Thanks for comments ! The problem is when I build it with X86, it works fine. But the bootstrapper of the application, which needs to install SQL Server Express gives error that the version of SQL Exp. is not compatible with your machine.
Quote:
( remember some applications like Microsoft Ink Analyzers don't)


Remember not all do. :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900