title: Visual Studio 2017 How to add missing dll to C++ project?
body: <p>I have a Visual Studio 2017 C++ project which depends on ffmpeg libraries. As of now it crashes at run time because of the missing dependency avformat-58.dll. I've tried adding this file into the project by dragging it into my project but that does not suffice. I tried looking at the Add Reference screen but it is empty. What can I do?</p>
  
  <p><a href="https://i.stack.imgur.com/tgYp8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tgYp8.png" alt="Screenshot of the problem"></a></p>
  
  <p>On the advice of @HansPassant I added the dll(s) to the project as existing external files. I think there should now be an option somewhere to "Copy to output directory" but I'm not seeing it. Here is what I see when I open property pages of one of the dlls.</p>
  
  <p><a href="https://i.stack.imgur.com/xXF1l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xXF1l.png" alt="file property pages"></a></p>
  
  <p>@sellotape Here is a screenshot of the window when I just single click.</p>
  
  <p><a href="https://i.stack.imgur.com/XrzmA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XrzmA.png" alt="enter image description here"></a></p>