Friday, September 2, 2011

File targeting 'AMD64' is not compatible with the project's target platform 'x86'

I got this error "File  targeting 'AMD64' is not compatible with the project's target platform 'x86'" while making a WCF setup project for a windows service which is targeting 64 bit .net framework. For this it is necessary to make the target platform equal for both the projects. Since by default the target platform of the deployment project set to x86. So we need to set the target platform for the setup project to x64. For this select the set up project Press F4. Then the properties window will appear. From there change the TargetPlatform value from X86 to X64. 

No comments:

Post a Comment