Click here to Skip to main content
12,445,916 members (61,684 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Visual-Studio
Hi,
While Rebuilding my project, I get following error. I set the target platforms to X64 but why does this error come up?

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 20-Jan-13 0:06am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
kfsehgal 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.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Quote:
( remember some applications like Microsoft Ink Analyzers don't)


Remember not all do. Smile | :)
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160811.3 | Last Updated 20 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100