title: Creating publish.htm from msbuild in a .proj file
body: <p>I have a proj file with a step in it that builds a specific csproj, with the Publish target so it generates the clickonce artifacts:</p>
  
  <pre><code>&lt;MSBuild Projects="@(ProjectReference)" 
           Properties="Configuration=Release" 
           ContinueOnError="false" 
           Targets="Publish"&gt;
  &lt;/MSBuild&gt;
  </code></pre>
  
  <p>This works, but it's only generating the </p>
  
  <pre><code>Application Files\
  setup.exe
  MyApplication.application
  MyApplication.exe
  </code></pre>
  
  <p>I also need the <code>publish.htm</code> so when it's navigated to it can display the install page.</p>
  
  <p>How do I generate this publish.htm from within my msbuild project file? If I use visual studio to publish my app to a target directory, it creates the publish.htm. So I'd need to replicate this from my msbuild project file.</p>