Hello,
Welcome to Microsoft Q&A!
If you need to combine multiple executables into a single MSIX package, then you'll need to continue using a Windows Application Packaging Project in your solution.
I suggest you could refer to the Doc: Set up your desktop application for MSIX packaging in Visual Studio
And If I can combine, when "MainProject" is running, how to launch "Subproject"?
The correct way to run an app, installed by an MSIX package, programmatically or from the command line is with the use of an execution alias.
I suggest you could refer to the thread: https://stackoverflow.com/questions/73607820/msix-start-other-application-in-multiple-application-package
Thank you.
Jeanine
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.