From 98239453c3ea6aa9199a68459f708bd03beb5a3b Mon Sep 17 00:00:00 2001 From: troogs Date: Sun, 1 Nov 2026 20:08:14 +0100 Subject: [PATCH] Update NuGet dependencies and configure QuestPDF license --- src/Duempelkas.Desktop/Duempelkas.Desktop.csproj | 8 +++----- .../Duempelkas.Infrastructure.csproj | 10 +++++----- .../Services/PdfStatementService.cs | 5 +++++ tests/Duempelkas.Tests/Duempelkas.Tests.csproj | 10 +++++----- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj b/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj index 56ab6e0..6e04e2b 100644 --- a/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj +++ b/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj @@ -30,8 +30,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -43,9 +43,7 @@ - + diff --git a/src/Duempelkas.Infrastructure/Duempelkas.Infrastructure.csproj b/src/Duempelkas.Infrastructure/Duempelkas.Infrastructure.csproj index ec2fb68..42db0ee 100644 --- a/src/Duempelkas.Infrastructure/Duempelkas.Infrastructure.csproj +++ b/src/Duempelkas.Infrastructure/Duempelkas.Infrastructure.csproj @@ -6,14 +6,14 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + diff --git a/src/Duempelkas.Infrastructure/Services/PdfStatementService.cs b/src/Duempelkas.Infrastructure/Services/PdfStatementService.cs index b3cd4d7..fc878f1 100644 --- a/src/Duempelkas.Infrastructure/Services/PdfStatementService.cs +++ b/src/Duempelkas.Infrastructure/Services/PdfStatementService.cs @@ -13,6 +13,11 @@ namespace Duempelkas.Infrastructure.Services; public class PdfStatementService : IPdfStatementService { + static PdfStatementService() + { + QuestPDF.Settings.License = LicenseType.Community; + } + private readonly IDbContextFactory _dbFactory; private readonly IEntryService _entryService; private readonly IBalanceQueryService _balanceQueryService; diff --git a/tests/Duempelkas.Tests/Duempelkas.Tests.csproj b/tests/Duempelkas.Tests/Duempelkas.Tests.csproj index 19a5933..fe7a1ee 100644 --- a/tests/Duempelkas.Tests/Duempelkas.Tests.csproj +++ b/tests/Duempelkas.Tests/Duempelkas.Tests.csproj @@ -8,14 +8,14 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + +