From 1f47bce4705699d4765dadeb7fc4f26ccb8136ae Mon Sep 17 00:00:00 2001 From: SilverFox Date: Thu, 23 Dec 2021 20:08:48 +0800 Subject: [PATCH] Fix MainWindow.OpenLink for net6.0 --- ILSpy/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ILSpy/MainWindow.xaml.cs b/ILSpy/MainWindow.xaml.cs index db0e5b887..fe270ea6c 100644 --- a/ILSpy/MainWindow.xaml.cs +++ b/ILSpy/MainWindow.xaml.cs @@ -1095,7 +1095,7 @@ namespace ICSharpCode.ILSpy { try { - Process.Start(link); + Process.Start(new ProcessStartInfo { FileName = link, UseShellExecute = true }); #pragma warning disable RECS0022 // A catch clause that catches System.Exception and has an empty body } catch (Exception)