tinklerj

Location of DLLs

Discussion created by tinklerj on Dec 6, 2012
Latest reply on Jun 19, 2014 by Roger Palmen

I had been using AF SDK 2010.

 

I have now upgraded to AF SDK (AF Client & Developer Tools) 2012 and started using the Rich Data Access classes e.g. PIServer, PISystem, PIPoint.

 

In order to get this to compile I found I had to

 

- remove the project reference to OSIsoft.AFSDK in the .NET Global Assembly Cache, which points to the class library (PIHOME)\AF\PublicAssemblies\OSIsoft.AFSDK.dll (version 2.0.0.0).

 

- browse instead to (PIHOME)\AF\PublicAssemblies\4.0\OSIsoft.AFSDK.dll (version 4.0.0.0).

 

Since AF SDK 2012 seems to add on, rather thann replace, AF SDK 2010, I'm just wondering what happens if my application is deployed to a machine where this upgrade has been performed.  Will my code pick up the older DLL and not work?  Or do I have to set "copy local" on the DLL reference?

Outcomes