I am trying to start the default web browser open to a link with Process.Start()
. I use Process.Start("https://www.google.com")
, but my .NET Core App crashes with the following:
Exception has occurred: CLR/System.ComponentModel.Win32Exception An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.Diagnostics.Process.dll: 'No such file or directory' at System.Diagnostics.Process.ResolvePath(String filename) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at VPGameHelper.Program.Main(String[] args) in /home/jj/VPGameHelper/Program.cs:line 30