feat: implement central package management and stabilize mobile build #50
Reference in New Issue
Block a user
Delete Branch "feat/central-package-management"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request implements Central Package Management (CPM) across the NexusReader solution to centralize package version definitions, improve package maintainability, and ensure security patch consistency. It also resolves compile issues in the mobile infrastructure and client projects.
Key Changes
1. NuGet Central Package Management (CPM)
Directory.Packages.propsin the solution root containing all solution-wide dependency versions (consolidating 48 packages).Microsoft.Bcl.Memorytov9.0.14to resolve a known high-severity vulnerability (CVE-2026-26127).Versionattributes from.csprojfiles for the core library, web client, web host, UI shared, data access, and testing projects to inherit central version definitions.2. Mobile / MAUI Projects Stabilization
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>) in bothNexusReader.Infrastructure.Mobile.csprojandNexusReader.Maui.csprojto preserve native MAUI workload package integration while cleanly referencing package versions manually.FluentResults.Resultto eliminate compiler ambiguity conflicts betweenAndroid.App.ResultandFluentResults.Resultinside Android platform service implementations.using Microsoft.Maui; using Microsoft.Maui.Hosting;) and ensuredMicrosoft.Maui.Essentialsreferences resolve properly in the mobile context.Verification
dotnet build NexusReader.slnx --no-restore->Liczba błędów: 0).dotnet test NexusReader.slnx --no-restore).