The executable MicrosoftEdge.exe cannot be launched directly like other EXEs in windows. I confirmed that from my own experience, and by reading this and that.
I also cannot launch it via Process.Start("MicrosoftEdge.exe")
in my c# winforms app.
There must be some way to launch Edge from winforms without resorting to 3rd-party app and other clutter. I have already tried the following, with no success:
Process.Start("MicrosoftEdge.exe")
- unhandled exceptionProcess.Start("microsoft-edge")
- unhandled exceptionProcess.Start("%windir%\explorer.exe shell:Appsfolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge")
- unhandled exceptionProcess.Start(@"c:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe")
- no exception, but nothing happens
Note: I can easily launch Chrome and Firefox using method #1 above.
How can I launch MS Edge from my .net winforms app?