SAP Business one 9.0 AddOn installer error
I have upgrade my SAP B1 from 8.82 to 9.0 PL 5. I have an addon also which is I compile with 9.0 DLLs. it is working fine if I direct connect by visual studio 2010 to any client 32-bit or 64 bit. But When I make an .ard file using B1DE 2.2.6 . it gives me error '"BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)". I use the following steps for make an addon.
1. Run Addon Installer Wizard and follow all steps.
2. Change Compile -Advance Compile option -Any CPU.
3 Rebuild again project.
4. Rebuild ard file by clicking on batch file
Please suggest where is the gap. It tried to install on both client 32 bit or 64 bit, but it gives me above error.