Create your adapter solution
- Last UpdatedAug 18, 2026
- 1 minute read
- PI System
- Adapter Framework 2.1.0
- Adapters
Use the adapter template to generate a new adapter solution. The template provides the foundational components required to build, configure, test, and run an adapter on the Adapter Framework.
-
Generate an adapter projects using `dotnet new` from the published Adapter.Template NuGet package.
```bash
# One-time: install the template
dotnet new install Adapter.Template --nuget-source "https://api.nuget.org/v3/index.json"
# Navigate to where you want your solution created, then:
dotnet new AdapterTemplate --param:name "YourAdapterName"
```
-
Open the generated project folder in Visual Studio Code or an Integrated Development Environment (IDE) of your choice.
-
Run dotnet build in the integrated terminal to confirm the adapter project runs successfully with no errors.