Fix an exception when opening the links from the about window
authorGreg Burri <greg.burri@gmail.com>
Mon, 22 Mar 2021 12:16:38 +0000 (13:16 +0100)
committerGreg Burri <greg.burri@gmail.com>
Mon, 22 Mar 2021 12:16:38 +0000 (13:16 +0100)
Parasitemia/ParasitemiaCore/ParasitemiaCore.fsproj
Parasitemia/ParasitemiaUI/About.fs
Parasitemia/ParasitemiaUI/ParasitemiaUI.fsproj

index 14fc5a9..7b5ec47 100644 (file)
@@ -3,9 +3,9 @@
   <PropertyGroup>
     <OutputType>Library</OutputType>
     <TargetFramework>net5.0</TargetFramework>
-    <Version>1.0.12</Version>
-    <AssemblyVersion>1.0.0.12</AssemblyVersion>
-    <FileVersion>1.0.0.12</FileVersion>
+    <Version>1.0.13</Version>
+    <AssemblyVersion>1.0.0.13</AssemblyVersion>
+    <FileVersion>1.0.0.13</FileVersion>
     <Authors>Greg Burri</Authors>
     <Product />
     <Company>CHUV &amp; HES-SO</Company>
index d421e22..5d0a17d 100644 (file)
@@ -19,7 +19,7 @@ let showWindow (parent : Window) =
     let navigateTo =
         Navigation.RequestNavigateEventHandler (
             fun obj args ->
-                Process.Start (ProcessStartInfo args.Uri.AbsoluteUri) |> ignore
+                Process.Start (ProcessStartInfo (args.Uri.AbsoluteUri, UseShellExecute = true)) |> ignore
                 args.Handled <- true
         )
 
index db15b1e..d6e4ebc 100644 (file)
@@ -4,9 +4,9 @@
     <OutputType>WinExe</OutputType>
     <TargetFramework>net5.0-windows</TargetFramework>
     <UseWPF>true</UseWPF>
-    <AssemblyVersion>1.0.0.12</AssemblyVersion>
-    <FileVersion>1.0.0.12</FileVersion>
-    <Version>1.0.12</Version>
+    <AssemblyVersion>1.0.0.13</AssemblyVersion>
+    <FileVersion>1.0.0.13</FileVersion>
+    <Version>1.0.13</Version>
     <Authors>Greg Burri</Authors>
     <Company>CHUV &amp; HES-SO</Company>
     <Win32Resource></Win32Resource>