how to import a dll in visual studio?
2 Answers. Copy the downloaded DLL file in a custom folder on your dev drive, then add the reference to your project using the Browse button in the Add Reference dialog. Be sure that the new reference has the Copy Local = True . Manage NuGet packages menu command of Visual Studio 2017/2019.