Problems with developing application that can connect to both ax 4.0 and ax 2009


I’ve tried to make a c# appl that can connect to ax 4.0 and ax 2009 using .net business connector.

The problem is that there are different business connector assemblies from microsoft (one for ax4 and one for ax 2009) that should be used when connecting to the AOS. These assemblies have the same name, so i cant reference them both in the project. And i haven’t been able to connect to an ax4 AOS using the assembly for ax 2009 or vice versa.

Does anyone have a solution for this?

Thanks in advance