title: WiX Source Files In a Different Directory From the Project File
body: <p>I'm building an installer for a Visual Studio 2010 solution and I've decided to go with WiX. I've added the WiX setup project to the solution and am trying to configure it in a similar fashion to the rest of the projects in the solution.</p>
  
  <p>The way those projects are setup is that their project files are in a seperate directory from the rest of the source:</p>
  
  <pre><code>Source
      Core
      UI
      Projects &lt;- .vcproj files for the Core and UI projects are in this directory
      ...
  </code></pre>
  
  <p>Now the new project for the WiX installer is called Setup so the directory tree now looks like:</p>
  
  <pre><code>Source
      Core
      UI
      Setup
      Projects &lt;- .wixproj for Setup is here, and I want it's source files in the Setup directory
      ...
  </code></pre>
  
  <p>The problem is that whenever I add a source file to the Setup project, it copies the file from where it is to the Projects directory, next to the .wixproj file.</p>
  
  <p>Is there something I can set on the project to prevent this behaviour and include WiX source files in-place?</p>