title: File already exists starting ClickOnce
body: <p>In my application manifest (<code>app.manifest</code>) I have a dependency to a manifest file (<code>test.manifest</code>). </p>
  
  <p>When I publish my project and attempt to start it, I get an error saying:</p>
  
  <blockquote>
    <p>The file '...\AppData\Local\Temp\Deployment\ZXCRGKX9.CVP\XNY9KJEX.XCM\test.manifest' already exists.</p>
  </blockquote>
  
  <p>I read somewhere that a solution would be to change the properties of my test.manifest file to </p>
  
  <pre><code>'Build Action : None (prev Content)' 
  </code></pre>
  
  <p>and     </p>
  
  <pre><code>'Copy : Do not Copy (prev Always)'
  </code></pre>
  
  <p>but this only resulted in another error: </p>
  
  <blockquote>
    <p>Could not find file ....\File_Specified_In_TestManifest.dll</p>
  </blockquote>
  
  <p>This DLL should not be accessed yet!</p>
  
  <p>What could be the issue and how do I how to fix it?</p>
  
  <p>P.S.: It is worth mentioning that the files specified in <code>test.manifest</code> are not present in the folder, but as these components are actually not accessed I believe the application should run anyway.</p>