Recommendation for DotNet5 Winforms compatible Setup Project for Visual Studio 2019

JD N 1 Reputation point

After discovering yesterday that the Setup Project included with VS2019 does not work with DotNet5 (the Primary Output for a DotNet 5 Winforms application is just a dll making it useless & requiring kludging to make it work on Windows so the average user doesn't need to get involved in something as mundane as software installation), I was wondering, instead of spending another week rolling my own setup project, if there is a DotNet5 compatible alternative (open source preferred, or an affordable 3rd party option) available?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,438 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,731 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
957 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ken Tucker 5,801 Reputation points

    You can build your .net 5 windows forms app into a self-contained exe.

    No comments

  2. Anna Xiu-MSFT 11,201 Reputation points Microsoft Employee

    Hi @JD N ,

    Welcome to Microsoft Q&A!

    You could also refer to the following document:

    Please select ‘Publish Items’ to get setup.exe file for your Winforms project.


    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    No comments