Loreto

Using OsiSoft.AF.dll and OSISoft.AFSDKL.dll in a project, failed

Discussion created by Loreto on Oct 23, 2014
Latest reply on Oct 23, 2014 by ee.ashley

I've already install: AF Client 2014 R2.

 

I'm trying to create AF attributes, with AFDataReference with a VS 2010 project, but I have several problems.

 

These are the steps that I have done:

 

Adding Reference to the Project: Add versión 4.0

 

 

 

In the working class, imports the clases, and create variables using it:

 

8360.Imports.png

 

 

 

Everything seems to be right, but when i tried to build the Project, it failed

 

4137.Build.png

 

8311.Failed.png

 

 

 

 Could you please help me? I don't know what i'm doing wrong or if I need or I forgot something.

 

Thanks in advance!

Outcomes