Errors by creating setup - 32 / 63 bit problems

12/12/2012 4:41:10 AM
Total Posts 18

Errors by creating setup - 32 / 63 bit problems

I try to create setup for my web site including AspMap-DLL. I use Visual Studio 2010 and the web deployment project 2010 for this. The deployment project compiles without errors, but the setup project, that includes the "Precompiled Web Outputs" from my deployment project gets an error: "File 'AspMapNET.dll' of project output 'Precompiled Web Outputs' from KMBD_deploy (Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86'."

The setup project has the target platform X86, because we have only a 32 bit server. If I change to x64, I can create the setup without problems, but I cant install on my server :-(

I use 32 bit DLL of AspMap, from directory "C:\Program Files (x86)\VDS Technologies\AspMap 4.7\BIN32" in my web project. Why I get this error?

 

This is written in output window:

Building file 'C:\XXX\WebSetup\Debug\KMBD-Setup.msi'...
WARNING: File 'AspMapUtil.dll' of project output 'Precompiled Web Outputs from KMBD_deploy (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
ERROR: File 'AspMapNET.dll' of project output 'Precompiled Web Outputs from KMBD_deploy (Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86'
WARNING: File 'AspMapNET.dll' of project output 'Precompiled Web Outputs from KMBD_deploy (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'AspMapUtil.dll' of project output 'Precompiled Web Outputs from KMBD_deploy (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'

12/12/2012 6:10:36 AM
MVP
Total Posts 323

Re: Errors by creating setup - 32 / 63 bit problems

The AspMapUtil.dll file in the BIN32 folder is 32-bit.
It is unclear why the tool you are using reports such a message.