WinForms UWP app 2 issues
Hi all
My WinForms .NetFw 4.8 app is installed with msi, I've created an msix installer and it installs to Windows Apps just fine, with a few issues:
When I request to read/write:
AppData Local
It's redirected to:
AppData Local Packages id LocalCache Local
Most operations are done automatically, but when I need to open a text file with:
Process.Start
and path is: AppData Local ...
It will not auto-redirect! So how to open text or eml files?
Why Process.Start does not redirect read requests?
I'm getting this error:
The specified executable is not a valid application for this OS platform.
So what are my safe options here?
I'm in vb.net WinForms Fw4.8.
Also, second issue would be that when registering the app as default app via settings, it works, but will start the app without UWP context, just like I directly open it from:
Program Files WindowsApps
Any workaround?
Generally, when uwp msix is installed, what's the difference internally if run from start menu with uwp context and run directly by clicking on it without uwp context?
Thanks everyone