title: How are old versions of a application handled with the PublishSingleFile option?
body: <p>Do aplications build with the PublishSingleFile clean up old versions? If not is there a way to reliably clean them up automatically?</p>
  
  <p>Csproj example for reference:</p>
  
  <pre><code>  &lt;PropertyGroup&gt;
      &lt;OutputType&gt;Exe&lt;/OutputType&gt;
      &lt;TargetFramework&gt;netcoreapp3.0&lt;/TargetFramework&gt;
      &lt;PublishSingleFile&gt;true&lt;/PublishSingleFile&gt;
      &lt;PublishTrimmed&gt;true&lt;/PublishTrimmed&gt;
      &lt;RuntimeIdentifier&gt;ubuntu.16.04-x64&lt;/RuntimeIdentifier&gt;
    &lt;/PropertyGroup&gt;
  </code></pre>