Welcome to Microsoft Q&A!
Have you installed the extension
Microsoft Visual Studio Installer Projects?
Please perform the following steps after installing the extension:
Add a new Setup Project in your solution> right-click Application Folder> Add> Project Output…> choose the corresponding Project> select Primary output
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