title: How do I deploy two ClickOnce versions simultaneously?
body: <p>I would like the ability to have a test ClickOnce server for my applications where users can run both the production version and the test version in parallel. Is this possible?</p>
  
  <p>I first tried using the following in <code>AssemblyInfo.cs</code> and also changing the name in the ClickOnce deployment though all this achieved was overwriting the users' production version with the test version. Likewise, it did the same when they went back to the production server.</p>
  
  <pre><code>#if DEBUG
  [assembly: AssemblyTitle("Product Name - Test")]
  #else
  [assembly: AssemblyTitle("Product Name")]
  #endif
  </code></pre>
  
  <p>I thought I should also clarify that the two deployment locations are different from one another and on different servers.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I've also tried setting the GUID for the manifest depending on the debug mode, but again it does not work (dummy GUID's used below).</p>
  
  <pre><code>#if DEBUG
  [assembly: Guid("AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA")]
  #else
  [assembly: Guid("BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB")]
  #endif
  </code></pre>
  
  <p>How are the two distinguished? It seems that the installer sees them as two separate programs as I get a confirmation of installation for each. Though, when I install the second one, "Add/Remove Programs" only sees the latter, though the former is still on disk, as when I go to reinstall it later, it just simply runs, but then the add/remove programs switches back to the former name.</p>