I used Visual studio setup/installer project template to build a setup for my App last year(in VS19) and it worked well . after some changes I was forced to migrate to.Net6 and I tried to build a setup with this tool( in Vs22). I was able to install the app using the MSI file generated but the app wouldn't run. the tool doesn't generate any dependencies for the primary output and I don t know why. could that be the problem ?
I tried different frameworks with no results.