title: Portaudio.dll won't link properly in VS
body: <p>I'm using C++ on visual studio 2019 and having issues trying to link my project to PortAudio. I'm getting the error 'portaudio_x64.dll was not found. Reinstalling the program may fix this problem'.
  I have linked to  portaudio.lib in Properties-&gt;Configuration properties-&gt;linker-&gt;Input-&gt;Additional dependencies. I have also put the folder in which the .lib file lives in Properties-&gt;Configuration properties-&gt;Linker-&gt;General-&gt;Additional library directories. The path to the folder where portaudio.h lives is in Properties-&gt;Configuration properties-&gt;C/C++-&gt;General-&gt;Additional include directories. For good measure I have tried compiling both with the portaudio.h file in my header files tab, and without.
  Someone here suggested that I copy the actual dll file into the same folder as my solution. This works when I run the program with Crtl+F5, but when I build the solution and open the exe, I get the same error as before. I'm really struggling to see the issue, any help would be great
  <a href="https://i.stack.imgur.com/kb9Qc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kb9Qc.png" alt="Additional include directories" /></a><a href="https://i.stack.imgur.com/lMQyU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lMQyU.png" alt="Additional library directories" /></a><a href="https://i.stack.imgur.com/2IiV9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2IiV9.png" alt="Additional dependencies" /></a></p>