Forum Discussion
Mark_Olbert
Apr 05, 2022Copper Contributor
MSIX Appears to Not Include System.Text.Encodings.Web
I posted about this over at https://docs.microsoft.com/en-us/answers/questions/801484/winui-3-app-runs-on-development-machine-crashes-el.html before stumbling across this forum. I won't repeat al...
Apr 20, 2022
If you just want to look, it's basically a zip file so rename a copy and open. It will break that copy so you can't change it there. To do that you'd have to use a tool that will rebuild the package. The Microsoft MSIX Packaging Tool (free, in Microsoft Store) has a crude editor, but there are many (not free) third party vendors that offer MSI/Setup builders have support, as does TMEditX.
But first, check that you set the capabilities in your package. If you are including that, you are likely calling out to the internet and need to declare the "client internet" capability, or your code will/may fail on non-development systems.
But first, check that you set the capabilities in your package. If you are including that, you are likely calling out to the internet and need to declare the "client internet" capability, or your code will/may fail on non-development systems.
- Mark_OlbertApr 20, 2022Copper Contributor
Thanx for the reply. After posting this I learned about the Packaging Tool and was able to confirm the DLL was included in the MSIX. Turns out the problem had to do with an exception being thrown within an exception handler I'd written for my logging subsystem. Apparently that was deep enough that it just blew away the app when it occurred, leaving a trail of "off topic" and unhelpful messages (like System.Text.Encodings.Web being missing).
- Apr 20, 2022Glad that you got to the bottom of that. We ALL want to see more MSIX packages out there!