Can't build deployment package on 64 bit Windows 7 RRS feed

  • Question

  • User1786309542 posted

    I have a web service (using the 32 bit Oracle client). It runs fine on both (64 bit) Windows 7 and on Windows XP. I can build the deployment package on XP as well. When I try to build a deployment package on 64 bit Windows 7, I get the following error.

    File 'BridgeService.dll' of project output 'Precompiled Web Outputs from BridgeService.csproj_deploy (Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86'

    When I go to Configuration Manager, my active solution platform is x86, and the BridgeService project's platform is x86. (The csproj_deploy project is set to Any CPU and can't be changed.)

    I'm using Visual Studio 2010 SP1. Any idea how to convince it that I really, really want to generate 32 bit code?

    Tuesday, May 31, 2011 10:33 AM

All replies

  • User1052258516 posted

    Does the 32 bit Oracle client have it's own installer?  You might want to use that to install the assemblies rather than just package them up with your installer.

    Tuesday, May 31, 2011 8:35 PM
  • User1786309542 posted

    The Oracle client has to be installed/configured seperately. I'm using the System.Data.OracleClient assembly to talk to the Oracle client.

    Wednesday, June 1, 2011 10:27 AM