我把windows service工程的release target platform 设为x64, 在相应的setup 工程里将这个windows service 的 release x64的主输出加进去,再编译这个setup工程后出现下面的错误信息
File 'WindowsService1.exe' of project output 'Primary output from WindowsService1 (Release x64)' targeting 'AMD64' is not compatible with the project's target platform 'x86'
我的开发机是32的。后来我试着把项目放到64位机器上编译,貌似还是相同的错误。
哪位大虾给个解决方法呀。
xiaohe.feng