I'm currently working on a C# program that uses ianywhere.data.sqlanywhere.v.4.5.dll (184.108.40.20654) as its referenced ADO.NET 4.5 assembly. Some of our clients are also running older versions of SQL Anywhere (12 and 11).
When I've deployed the application with to a test machine with SA 220.127.116.1131 it requires the bound assembly version (16) above to be available for the program to execute correctly. I can solve this problem by installing a SA 16 client on the tests machine first and then loading the ianywhere.data.sqlanywhere.v.4.5.dll (18.104.22.168314) into the deployment directory and it works fine.
Is there a cleaner way of doing this? I currently have an application manifest file for the Powerbuilder and C# application so could add code to this.
Thanks in advance