I'm currently working on a C# program that uses ianywhere.data.sqlanywhere.v.4.5.dll (18.104.22.16854) 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 22.214.171.12431 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 (126.96.36.199314) 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