Recommendation for DotNet5 Winforms compatible Setup Project for Visual Studio 2019

JD N 1 Reputation point
2021-04-23T19:19:29.58+00:00

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.
4,643 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,126 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,909 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ken Tucker 5,846 Reputation points
    2021-04-25T10:51:56.037+00:00

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

    https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file

    0 comments No comments

  2. Anna Xiu-MSFT 26,146 Reputation points Microsoft Vendor
    2021-04-26T09:16:04.837+00:00

    Hi @JD N ,

    Welcome to Microsoft Q&A!

    You could also refer to the following document:
    https://learn.microsoft.com/en-us/visualstudio/deployment/installer-projects-net-core?view=vs-2019#workflow-changes-for-net-core-31

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

    Sincerely,
    Anna

    • 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.
    0 comments No comments