title: Visual Studio C++ Adding Deployable Content(Entire Folder)
body: <p>I am trying to add resource files to my Visual Studio C++ project, but my images do not seem to be copying correctly during the build step. When developing within a C# environment, this was easily achieved by right clicking on the resource file(an image or what have you) and editing the "Copy to output directory" option. This option does not seem to exist within the C++ environment. Here is a picture of the C# environment to better illustrate the option that I am looking for:
  <img src="https://i.stack.imgur.com/NDRHS.png" alt="enter image description here"></p>
  
  <p>I tried doing roughly the same thing within the C++ environment but, like I said, the option simply does not exist. Instead it only gives a "content" option, with a "yes" or "no". The tool tip says that this is related to a deployment resource, however the resource is not deployed during the project build. I would also like the entire folder to be copied upon build; here is another picture:
  <img src="https://i.stack.imgur.com/laCFW.png" alt="enter image description here"></p>
  
  <p>Does anyone know how I can replicate this within a C++ environment?</p>
  
  <p><strong><em>EDIT</em></strong></p>
  
  <p>I tried using a post-build event script, but nothing appeared in the output directory. I am trying to copy the "Resources" folder, which I show in the second image. Here is the script that I am using:</p>
  
  <pre><code>xcopy "$(ProjectDir)Resources" "$(TargetDir)Resources" /e /y /i /r
  </code></pre>
  
  <p>Did I do something wrong in that? I don't even see any errors in the build log.</p>