Forum Discussion

hbatrnek's avatar
hbatrnek
Copper Contributor
Mar 13, 2020
Solved

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_...
  • hbatrnek's avatar
    hbatrnek
    Mar 16, 2020

    Tim Mangan 

     

    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.  🙂

Resources