Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Getting Started

Add AF SDK references to your project

  • Last UpdatedSep 29, 2022
  • 1 minute read

To make Visual Studio compile your code using AF SDK references, you use Reference Manager. The extensions section of Reference Manager lists assemblies that OSIsoft has developed to extend the .NET Framework.

  1. In Visual Studio, select Project > Add reference.

    The Reference Manager window displays.

  2. Click the Extensions node.

    A list of custom assemblies displays.

  3. Scroll the list until you see items from OSIsoft.

    You can also enter a search term such as OSI in the Search Assemblies box.

  4. Select the check box next to OSIsoft AFSDK version 4.0.0.0.

    Be sure to select version OSIsoft AFSDK and not OSIsoft.PISDK. Also be sure to select version 4 and not version 2.

  5. Click OK.

    The Reference Manager window closes and saves your changes.

    The references you added using Reference Manager apply to the entire project, which means that the referenced dynamic link libraries (DLLs or library files) are available to the project. However, the referenced DLLs are quite large and contain lots of functionality that your program might not use.

Related Links
TitleResults for “How to create a CRG?”Also Available in