Add a third-party library to the Visual Studio project
Add a third-party .NET library.
Prerequisites
Set Visual Studio as the default external code editor. See Set the default code editor.
To Add a third-party library to the Visual Studio project
- Copy the .NET assembly for the library to the ProjectFiles/NetSolution project folder.
-
From the main toolbar, select
Open .NET Solution.
The default external code editor opens.Tip: Rockwell Automation recommends using Microsoft Visual Studio 2022 or Microsoft Visual Studio Code as the default code editor. Some development assistance features may not be available when using a different code editor. -
Update the reference by selecting the assembly from 1.
For more information, see Manage references in a project - Visual Studio (Windows) | Microsoft Learn.