Skip to content

Commit

Permalink
Frontend.Console: fix crash related to SharpRaven
Browse files Browse the repository at this point in the history
Probably this bug was only happening on windows:

Unhandled Exception: System.IO.FileNotFoundException: Could not load
file or assembly 'SharpRaven, Version=2.4.0.0, Culture=neutral,
PublicKeyToken=null' or one of its dependencies.
The system cannot find the file specified.
at GWallet.Backend.Infrastructure.LogOrReportCrash(Exception ex)
at Program.NormalStartWithNoParameters() in
    C:\geewallet\src\GWallet.Frontend.Console\Program.fs:line 421
at Program.main(String[] argv) in
    C:\geewallet\src\GWallet.Frontend.Console\Program.fs:line 439
  • Loading branch information
aarani authored and knocte committed May 28, 2021
1 parent 3322ab3 commit 92b1abd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/GWallet.Frontend.Console/GWallet.Frontend.Console.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,11 @@
<Reference Include="FSharp.Core">
<HintPath>..\..\packages\FSharp.Core.4.7.0\lib\net45\FSharp.Core.dll</HintPath>
</Reference>
<Reference Include="SharpRaven">
<HintPath>..\..\packages\SharpRaven.2.4.0\lib\net471\SharpRaven.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Configuration" />
<Reference Include="System.Net.Http" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions src/GWallet.Frontend.Console/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
<package id="FSharp.Core" version="4.7.0" targetFramework="net461" />
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net46" />
<package id="Portable.BouncyCastle" version="1.8.5.2" targetFramework="net461" />
<package id="SharpRaven" version="2.4.0" targetFramework="net471" />
</packages>

0 comments on commit 92b1abd

Please sign in to comment.