title: How to create installer for .net core (single exe) application using visual studio setup project?
body: <p>I'm using visual studio 2019. I have .net core 3.1 application and i want to create msi installer for my application. I wanted to use setup project as always. I created setup project and i selected my project output as <strong>PublishItemsOutpuGroup</strong> Then i selected my publish profile from <strong>PublishProfilePath</strong> and msi created successfully but</p>
  <p><strong>My Problem</strong></p>
  <p>Even if i selected <strong>single exe</strong> in my project's publish profile when i insall created msi (created via setup project) it's not single exe. it includes all .net core dependencies. i want msi to install it as single exe file.</p>
  <p><strong>What i want</strong></p>
  <p>i want to use visual studio setup project and create msi file and when this msi file is installed it should create single exe without all .net core dependencies.</p>
  <p><strong>Extra info:</strong> if i go to my project and do publish, because i selected single exe in my publish profile settings it publishes single exe file as expected.</p>