1> -- -- -- -- -- - has started to regenerate: all projects: ExcelFill, configuration, Release Any CPU -- -- -- -- -- --
1> ExcelFill - & gt; D: \ winworkspace \ ExcelFill \ ExcelFill \ bin \ Release \ ExcelFill exe
-- -- -- -- -- - Starting pre - build the validation for the project 'ExcelFillSetup' -- -- -- -- -- --
-- -- -- -- -- - Starting pre - build the validation for the project 'ExcelFillSetup' -- -- -- -- -- --
-- -- -- -- -- - Starting pre - build the validation for the project 'ExcelFillSetup' -- -- -- -- -- --
.
.
.
Building the file 'D: \ winworkspace \ ExcelFill \ ExcelFillSetup \ Release \ ExcelFillSetup msi'...
Building the file 'D: \ winworkspace \ ExcelFill \ ExcelFillSetup \ Release \ ExcelFillSetup msi'...
Building the file 'D: \ winworkspace \ ExcelFill \ ExcelFillSetup \ Release \ ExcelFillSetup msi'...
ERROR: the File 'IBM. Data. The DLL' targeting 'AMD64' is not compatible with the project 's target platform' x86 '
ERROR: the File 'IBM. Data. The DLL' targeting 'AMD64' is not compatible with the project 's target platform' x86 '
ERROR: the File 'IBM. Data. The DLL' targeting 'AMD64' is not compatible with the project 's target platform' x86 '
WARNING: the File 'IBM. Data. The DLL' targeting 'x64' is not compatible with the project 's target platform' x86 '
WARNING: the File 'IBM. Data. The DLL' targeting 'x64' is not compatible with the project 's target platform' x86 '
WARNING: the File 'IBM. Data. The DLL' targeting 'x64' is not compatible with the project 's target platform' x86 '
The Build process cancelled
==========all regenerated: success, failure, skip the 0==========
But I want to make the installation package is set the target platform of x64 ah, got half a day, good pain, to solve!
CodePudding user response:
Top, online etc.!CodePudding user response:
If your platform is AnyCPU to blame?CodePudding user response:
Set the Setup properties TargetPlatform x64CodePudding user response:
X64 into x86CodePudding user response:
Obviously you want to pack a program into x64 architecture, but the three party libraries reference in your program does not support x64, only supports x86,