Install NuGet packages in Visual Studio

Install NuGet packages by using NuGet Packages Manager.
Prerequisites
Set Visual Studio as the default external code editor. See Set the default code editor.
  1. To install NuGet packages in Visual Studio
  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. Select the project to open the
    CSPROJ
    file.
  4. Save the
    CSPROJ
    file.
  5. Compile the project.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.