Create an application structure
- Last UpdatedAug 24, 2026
- 2 minute read
- PI System
- AF SDK 3.3.0
- PI Server
This topic explains how to create an application structure in Visual Studio for either version of the AF SDK:
-
The .NET Framework
-
The .NET 10 version
Choose the appropriate AF SDK version
To use the .NET Framework version of the AF SDK, the latest .NET Framework needs to be installed. If you want to build .NET Core applications, use the .NET 10 version.
For projects that target .NET 10 or later, the AF SDK can be referenced using the .NET 10 AF SDK NuGet package. To download this package, search for the AVEVA.AFSDK package on the nuget Web site.
Note: The Microsoft Visual C++ Redistributable must be installed before you can use the .NET 10 version of the AF SDK. To download the latest Microsoft Visual C++ Redistributable, see Microsoft Visual C++ Redistributable latest supported downloads.
When you create a new project in Microsoft Visual Studio, an outline of a program is created. Follow the steps in this topic to create a program outline for the version of the AF SDK you plan to use.
Start a new program: .NET Framework AF SDK applications
-
Open Visual Studio 2026.
-
Select File, select New, then select Project.
The New Project window opens.
-
Select Console App (.NET Framework).
-
Enter a name for the project in the Project name field.
-
Select .NET Framework 4.8 or 4.8.1 as the target framework.
Start a new program: .NET 10 AF SDK applications
-
Open Visual Studio 2026.
-
Select File, select New, then select Project.
The New Project window opens.
-
Select Console App.
-
Enter a name for the project in the Project name field.
-
Select .NET 10+ as the target framework.
Note: Later topics explain how to customize and extend the application with AF SDK functionality.