How to use a external DLL?

I’ve downloaded a .dll file, and referenced it in VS unity project. It shows all references there like a charm, but when I focus on unity it says:

The type or namespace name `GestureDetector'* could not be found. Are you missing a using directive or an assembly reference?
  • and I’m using the correct reference:

    using GestureDetector.DataSources;

    using GestureDetector.Events;

Your application code is compiled by Unity itself, not by Visual Studio or MonoDevelop, therefore you need to make sure that Unity is aware of any external DLL libraries. To use an external DLL in your game, just place it inside of your Unity Project, in the Assets directory. Then, next time Unity synchronizes Visual Studio/MonoDevelop project, it’ll add the necessary references to the DLLs in your Visual Studio/MonoDevelop project.

The external DLLs you add to your Unity project are compiled using the same process as the rest of your application code. If you encounter any difficulties including DLLs, make sure that you review the Script Compilation documentation.