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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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?
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
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