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.
- To Add a third-party library to the Visual Studio project
- Copy the .NET assembly for the library to theProjectFiles/NetSolutionproject folder.
- From the main toolbar, selectOpen .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.
- In Visual Studio, in theExplore solutionspane, right-clickDependencyand selectUpdate reference.
- SelectBrowseand select the assembly from 1.
- SelectOK.
Provide Feedback