I have several .NET 5
projects in a solution, and one of them (let's call it MyMainProject
) has OutputType
WinExe
. I added new InstallShield "Basic MSI Project". A few steps later I added to the setup the output of my WinExe project (MyMainProject.PublishItemsOutputGroup
). The setup builds, but the problem is, instead of having MyMainProject.exe
I have apphost.exe
. When in InstallShield project I right-click the PublishItemsOutputGroup
item and select Resolve Project Output
I get the list of all items, and in the list apphost.exe
is properly resolved to MyMainProject.exe
. But not in the final product.
What should I do to have apphost.exe
properly named in the installation? I know this file is just a shim for dotnet.exe
, but I like it named the way I like it.