03-03-2010 03:12 AM
I am having real trouble preserving backwards compatibility with older versions of ACT!
I have linked to the ACT! 8 Act.Framework assembly, which has worked fine upto and including ACT! 2009/v11
However, when calling against the ACT! 12 version of the assembly:
I always receive the following exception:
System.MissingMethodException: Method not found: 'Act.Framework.Lookups.ContactLookup Act.Framework.Lookups.LookupManager.LookupContactsReplace(System.Object, Act.Framework.Lookups.OperatorEnum, Act.Framework.Contacts.ContactFieldDescriptor, Boolean, Boolean)'.
If I then change my reference to explicitly target the 2010/ACT!12 version of the assembly the code works as expected.
I have played all the usual VS tricks of removing various assemblies and adding them back in but nothing seems to work expect explicitly targeting the v12 assembly, which for backwards compatibility I don't want to do.
Any thoughts much appreciated.