In my .Net Core App I want to create a setup file (.msi), but I struggle with the correct configuration.
When I simply take all files from my debug folder and put them inside my "Application Folder" it works, but that's not how Microsoft (I guess) and me want it to work.
Mainly I have two problems:
- When I take the "Primary output" of my project and create a Shortcut to this, the Shortcut tries to start the .dll instead of my .exe file.
- When I create the .msi file and install my project there is no "runtimes" folder and I manually need to create it inside my "Application Folder". Is there a way to automatically include it into my .msi?
Thanks for your advice!

