Add a third-party library to the Visual Studio project

Add a third-party .NET library by using the
Explore solutions
pane.
Prerequisites
Set Visual Studio as the default external code editor. See Set the default code editor.
  1. To Add a third-party library to the Visual Studio project
  2. Copy the .NET assembly for the library to the
    ProjectFiles/NetSolution
    project folder.
  3. From the main toolbar, select
    Open .NET Solution
    .
    The default external code editor opens.
    TIP: We recommend 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.
  4. In Visual Studio, in the
    Explore solutions
    pane, right-click
    Dependency
    and select
    Update reference
    .
  5. Select
    Browse
    and select the assembly from 1.
  6. Select
    OK
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.