I'm trying to create a setup project for a WPF application (.NET 5) using VS Community 2019. I've installed the extension for the setup project and I'm following this
So the correct way to do this is as follows:
Create a publish profile which is automatically named like this:
Make the following entry in "PublishProfilePath" (don't forget to prepend "Properties\PublishProfiles"):
Then it is possible to build a self-contained installer.