Skip to Content
0
Former Member
Aug 06, 2015 at 03:00 AM

ADO.NET deployment using different versions of ianywhere.data.sqlanywhere

133 Views

Hi

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

Allan