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
  1. Copy the .NET assembly for the library to the ProjectFiles/NetSolution project folder.
  2. 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.
  3. Update the reference by selecting the assembly from 1.