title: code execution cannot proceed because cpprest_2_10.dll was not found
body: <p>My aim is to use the Rest API in Visual Studio.
  I downloaded the C++ tool vcpkg from <a href="https://github.com/Microsoft/vcpkg" rel="noreferrer">https://github.com/Microsoft/vcpkg</a> and followed the instructions on <a href="https://github.com/Microsoft/cpprestsdk" rel="noreferrer">https://github.com/Microsoft/cpprestsdk</a> to install cpprestsdk. That worked fine.</p>
  
  <p>Then, in Visual Studio in the properties of the solution explorer, I included the following paths from the vcpkg folder into "VCC++ Directories->Include directories":</p>
  
  <blockquote>
    <p>vcpkg-master\vcpkg-master\buildtrees\cpprestsdk\src\v2.10.2-718a4e55e9\Release\include\cpprest</p>
    
    <p>vcpkg-master\vcpkg-master\buildtrees\cpprestsdk\src\v2.10.2-718a4e55e9\Release\include</p>
    
    <p>vcpkg-master\vcpkg-master\buildtrees\cpprestsdk\src\v2.10.2-718a4e55e9\Release\include\pplx</p>
  </blockquote>
  
  <p>Then I run my code and the following errors occur:</p>
  
  <p><code>LNK2001 unresolved external symbols</code> (32 errors like this)</p>
  
  <p>I googled it and was told to include the respective ".lib"-files into "Properties->Linker->Input->Additional Dependencies" and to include the paths of the corresponding ".dll"-files into "Properties->Linker->General->Additional Library Directories", what I did.</p>
  
  <p>Now, running the code again, just the following error occurs:</p>
  
  <p><code>code execution cannot proceed because cpprest_2_10.dll was not found. Reinstalling the program may fix the problem</code>,</p>
  
  <p>although the "cpprest_2_10.dll" is in the path, which I included previously.</p>
  
  <p>I have no idea what the problem is. Thank you in advance for your time.</p>