Update NuGet dependencies and configure QuestPDF license

This commit is contained in:
2026-11-01 20:08:14 +01:00
parent 990c392d54
commit 98239453c3
4 changed files with 18 additions and 15 deletions
@@ -30,8 +30,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Photino.Blazor" Version="*" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.*">
<PackageReference Include="Photino.Blazor" Version="4.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.14">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
@@ -43,9 +43,7 @@
</ItemGroup>
<Target Name="FinalizePublishOutput" AfterTargets="Publish">
<Move SourceFiles="$(PublishDir)$(AssemblyName).exe"
DestinationFiles="$(PublishDir)$(PublishedExeFileName)"
Condition="Exists('$(PublishDir)$(AssemblyName).exe') and '$(AssemblyName).exe' != '$(PublishedExeFileName)'" />
<Move SourceFiles="$(PublishDir)$(AssemblyName).exe" DestinationFiles="$(PublishDir)$(PublishedExeFileName)" Condition="Exists('$(PublishDir)$(AssemblyName).exe') and '$(AssemblyName).exe' != '$(PublishedExeFileName)'" />
<Touch Files="$(PublishDir)duempelkas.db" AlwaysCreate="true" Condition="!Exists('$(PublishDir)duempelkas.db')" />
</Target>
</Project>
@@ -6,14 +6,14 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.*" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.*">
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.14" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.14">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="QuestPDF" Version="*" />
<PackageReference Include="SkiaSharp" Version="2.88.9" />
<PackageReference Include="SkiaSharp.HarfBuzz" Version="2.88.9" />
<PackageReference Include="QuestPDF" Version="2026.9.1" />
<PackageReference Include="SkiaSharp" Version="4.154.0" />
<PackageReference Include="SkiaSharp.HarfBuzz" Version="4.154.0" />
</ItemGroup>
<ItemGroup>
@@ -13,6 +13,11 @@ namespace Duempelkas.Infrastructure.Services;
public class PdfStatementService : IPdfStatementService
{
static PdfStatementService()
{
QuestPDF.Settings.License = LicenseType.Community;
}
private readonly IDbContextFactory<FinanceDbContext> _dbFactory;
private readonly IEntryService _entryService;
private readonly IBalanceQueryService _balanceQueryService;
@@ -8,14 +8,14 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="*" />
<PackageReference Include="xunit" Version="*" />
<PackageReference Include="xunit.runner.visualstudio" Version="*">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="4.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="*" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.*" />
<PackageReference Include="FluentAssertions" Version="8.11.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.14" />
</ItemGroup>
<ItemGroup>