How to distribute .NET 6 runtime via MSIX? #69274
-
We have a WPF .NET Framework 4.8 application which we're currently distributing via MSIX. I'm looking at migrating to .NET 6, but I can't find a definitive answer on how to ship the .NET 6 runtime via MSIX. I don't want to trigger an install the first time the app runs, so I want the runtime installed at the same time as our app. How can I achieve that? We manually create the MSIX via Packaging API. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
This is not an direct answer to you question, but maybe the self contained publish feature in .NET 6 could solve your problem? By using that feature you do not need to install the .NET 6 runtime on the host. The application will contain everything needed including the runtime itself. You could also publish everything to a single .exe file if wanted. |
Beta Was this translation helpful? Give feedback.
-
Cc @eerhardt |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #100880. |
Beta Was this translation helpful? Give feedback.
Duplicate of #100880.