Skip to content

Commit cedaf76

Browse files
committed
Fix ToolTip help link for url under .NET 6+
1 parent 302f65d commit cedaf76

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Source/ExcelDna.IntelliSense/ToolTipForm.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,12 @@ void LaunchLink(string address)
267267
{
268268
if (address.StartsWith("http", StringComparison.OrdinalIgnoreCase))
269269
{
270-
Process.Start(address);
270+
var psi = new ProcessStartInfo
271+
{
272+
FileName = address,
273+
UseShellExecute = true // Explicitly set to since under .NET Core 3.0+, UseShellExecute defaults to false
274+
};
275+
Process.Start(psi);
271276
}
272277
else
273278
{

0 commit comments

Comments
 (0)