From 261db68646c0323a2828fae333386740945f8a3c Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 11 Apr 2024 22:23:15 +0300 Subject: [PATCH] More Crash Report related fixes. Fixed WinForms renderer --- build/common.props | 4 ++-- changelog.txt | 4 ++++ src/Bannerlord.ButterLib/Bannerlord.ButterLib.csproj | 11 ++++------- .../ExceptionHandler/ExceptionReporter.cs | 2 +- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/build/common.props b/build/common.props index fac35d75..dd8e1bcd 100644 --- a/build/common.props +++ b/build/common.props @@ -5,7 +5,7 @@ 1.0.0 - 2.9.5 + 2.9.6 2.2.2 3.2.0.77 @@ -18,7 +18,7 @@ 1.1.0.104 3.0.0.138 5.0.221 - 13.0.0.72 + 13.0.0.78 diff --git a/changelog.txt b/changelog.txt index df97b009..57fbdd74 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,8 @@ --------------------------------------------------------------------------------------------------- +Version: 2.9.6 +Game Versions: v1.0.0,v1.0.1,v1.0.2,v1.0.3,v1.1.0,v1.1.1,v1.1.2,v1.1.3,v1.1.4,v1.1.5,v1.1.6,v1.2.x +* More Crash Report related fixes. Fixed WinForms renderer +--------------------------------------------------------------------------------------------------- Version: 2.9.5 Game Versions: v1.0.0,v1.0.1,v1.0.2,v1.0.3,v1.1.0,v1.1.1,v1.1.2,v1.1.3,v1.1.4,v1.1.5,v1.1.6,v1.2.x * More Crash Report related fixes. Involved modules were incorrectly rendered diff --git a/src/Bannerlord.ButterLib/Bannerlord.ButterLib.csproj b/src/Bannerlord.ButterLib/Bannerlord.ButterLib.csproj index f4462325..e367f016 100644 --- a/src/Bannerlord.ButterLib/Bannerlord.ButterLib.csproj +++ b/src/Bannerlord.ButterLib/Bannerlord.ButterLib.csproj @@ -3,12 +3,11 @@ net472;net6.0-windows;netstandard2.0 + x64 latest enable - x64 - true + true true - $(BANNERLORD_BUTR_UPLOAD_URL) $(DefineConstants);BANNERLORDBUTRSHARED_BUTTERLIB;X64 false @@ -28,8 +27,6 @@ false MIT Butter.png - true - x64 @@ -83,14 +80,14 @@ --> - + - + diff --git a/src/Bannerlord.ButterLib/ExceptionHandler/ExceptionReporter.cs b/src/Bannerlord.ButterLib/ExceptionHandler/ExceptionReporter.cs index b997a68f..cd57f550 100644 --- a/src/Bannerlord.ButterLib/ExceptionHandler/ExceptionReporter.cs +++ b/src/Bannerlord.ButterLib/ExceptionHandler/ExceptionReporter.cs @@ -67,7 +67,7 @@ public static void Show(Exception exception) #if NET472 || (NET6_0 && WINDOWS) var forms = new CrashReportWinForms(crashReportModel, logSources, crashReportRendererUtilities); - forms.Show(); + forms.ShowDialog(); #endif } catch (Exception ex2)