i just try out .Net 6 while i always sticked to the .Net Framework.
Now i want to open a website with the default browser. I've always used Process.Start("https://google.com") but when i do this in .Net 6, it throws an error, telling me that the File was not found.
System.ComponentModel.Win32Exception: 'An error occurred trying to start process 'https://google.com' with working directory 'C:\C#Projects\TestForm\MyFormsApp\bin\x64\Debug\net6.0-windows'. Das System kann die angegebene Datei nicht finden.'
Do I need to manually determine the default browser to make this work with URLs again?
Edit: I don't understand why it got closed (marked as duplicate), the other question is from 2014 and it's marked answer is not that helpful, and not specific for .Net 6 confusion when switching from .Net Framework. Also it's not specifically about using the default browser.
Greetings