I am using OSIsoft.AFSDK.dll (File version: 184.108.40.20659) in my project in the development environment which is running PI System Explorer 2012 and PI SDK 2012 SP1.
My QA environment is slightly old and it's still running PI Sys Explorer 2010 R2 - 220.127.116.1148 and PI SDK 18.104.22.1688 (file version 22.214.171.1247).
I am using InterpolatedValues() method in my project which as per the AFSDK reference guide available only in the newer version (This method, property, or class is only available in the .NET 4 version of the SDK). I am under impression that as OSIsoft.AFSDK.dll is a .net assembly, it has self contained everything and local to my project. Keeping this in my mind I deployed the project on the QA environment but it is compalining with the data method 'InterpolatedValues' is not supported on an Attribute error.
I am really confused because OSIsoft.AFSDK.dll which is shipped in the bin folder of my project is the one which supports 'InterpolatedValues' but still it's complaining.
The following link suggests me to upgrade the environment to 2012
but before that I need to understand what's the purpose of OSIsoft.AFSDK.dll in the bin folder of my project if I still need to upgrade the PI System Explored and PI SDK environment to support the 'InterpolatedValues'method. Am I missing something in the project configuration which is making this dll to be picked from the PI Installation folder rather than from the bin folder of the project?
Is there anyway to use this version of OSIsoft.AFSDK.dll without upgrading the environmnet?