title: How do I set up CefSharp VS 2017 solution to copy cef.redist and CefSharp.BrowserSubprocess to bin folder?
body: <p>For the past two months I've been working on a C# project in VS2017 using CefSharp.  Things were going well, I had a working app, was adding to it, polishing, etcetera. Then one day, I decided to rename the CefSharp.WinForms.Example project.  Turns out this was not a good idea.  I 
  continued for another week or two with no problems, then thought, "it's time to see if I can set up this build environment from scratch."  In the process of doing this, I discovered that CefSharp.BrowserSubprocess (and its components) were no longer being copied to my project' bin directories.  Nor were the files distributed in cef.redist.x86.  So, off to the NuGet package manager... cef.redist.x86 is there (in the NuGet PM), and it looks like its set up correctly.  I've looked at 'build.ps1' and and 'afterbuild.example.ps1' and every other file I can think of,  but I can't figure out how to get the BrowserSubprocess files and CEF distribution to be copied to my bin folders by the build process.  I've been proceeding by copying them into the bin dir "by hand"...</p>
  
  <p>I tried to solution given in "Dependencies not copied to bin folder", i.e., insert this in .csproj file:</p>
  
  <pre><code>&lt;CopyLocalLockFileAssemblies&gt;true&lt;/CopyLocalLockFileAssemblies&gt;
  </code></pre>
  
  <p>This had no effect.</p>
  
  <p>To shorten a long story into question:</p>
  
  <p>How do I set up the VS 2017 solution to copy these files automatically?</p>