Forum Discussion
hbatrnek
Mar 13, 2020Copper Contributor
MSIX application is not opening ReportViewer Microsoft.ReportViewer.WinForms
When I run the application exe file directly from C:\Program Files\WindowsApps it works, but not when I start it from the Start menu. Process Monito is showing C:\WINDOWS\Microsoft.Net\assembly\GAC_...
- Mar 16, 2020
I've resolved it with this:
Process.Start(Path.Combine(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), "PsfLauncher32.exe"));The problem was in the root path when starting it from windows start, root path for Process.Start is not the application folder when started as a store package. 🙂
Tim Mangan
Mar 16, 2020MVP
hbatrnek Ugh! my bad. It goes in the Application section of the config.json file.
hbatrnek
Mar 16, 2020Copper Contributor
I've resolved it with this:
Process.Start(Path.Combine(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), "PsfLauncher32.exe"));The problem was in the root path when starting it from windows start, root path for Process.Start is not the application folder when started as a store package. 🙂
- Tim ManganMar 17, 2020MVP
hbatrnek I guess I missed the part that you were programmatically starting the launcher from something else. Glad you sorted this out.