5.1 KiB
5.1 KiB
[2026-03-31 21:08] TASK-001: Verify Prerequisites
Status: Complete
- Verified:
- .NET 10.0 SDK is installed and compatible
- No global.json found, no conflicts to resolve
Outcome
Success - All prerequisites verified. Environment ready for .NET 10.0 upgrade.
[2026-03-31 21:16] TASK-002: Convert Project to SDK-style
Status: Complete
- Files Modified: HorseRacingPredictor/HorseRacingPredictor/BettingPredictor.csproj
- Code Changes: Converted from classic WPF project to SDK-style format using conversion tool. Removed 8 malformed duplicate PackageReference entries (RestSharp.112.1.1-alpha, System.CodeDom.10.0.0-rc, etc.) that were created by the conversion tool alongside the correct entries.
- Verified:
- Project uses
<Project Sdk="Microsoft.NET.Sdk">format <UseWPF>true</UseWPF>is present<UseWindowsForms>true</UseWindowsForms>is present- All source files properly included via globbing
- Malformed duplicate package entries cleaned up
- Project uses
Outcome
Success - Project successfully converted to SDK-style format with cleanup.
[2026-03-31 21:21] TASK-003: Update Target Framework and Project Configuration
Status: Complete
- Files Modified: HorseRacingPredictor/HorseRacingPredictor/BettingPredictor.csproj
- Code Changes: Changed TargetFramework from net481 to net10.0-windows. Removed unnecessary ImportWindowsDesktopTargets property.
- Verified:
- TargetFramework is net10.0-windows
- UseWPF is true
- UseWindowsForms is true
- ImportWindowsDesktopTargets removed (redundant with -windows TFM)
Outcome
Success - Target framework updated to net10.0-windows.
[2026-03-31 21:30] TASK-004: Update NuGet Package References
Status: Complete
- Files Modified: HorseRacingPredictor/HorseRacingPredictor/BettingPredictor.csproj
- Code Changes:
- Removed legacy assembly References (System.Web, System.Data.DataSetExtensions, Microsoft.CSharp, System.Net.Http)
- Updated Microsoft.Bcl.AsyncInterfaces, Microsoft.Bcl.Numerics to 10.0.5
- Updated System.Numerics.Tensors to 10.0.5
- Removed 13 framework-included packages: Microsoft.CSharp, System.Buffers, System.CodeDom, System.Collections.Immutable, System.IO.Pipelines, System.Memory, System.Numerics.Vectors, System.Reflection.Emit.Lightweight, System.Runtime.CompilerServices.Unsafe, System.Text.Encodings.Web, System.Text.Json, System.Threading.Channels, System.Threading.Tasks.Extensions, System.ValueTuple
- Added Microsoft.Data.SqlClient 7.0.0
- Added System.Configuration.ConfigurationManager 10.0.5
- Verified: dotnet restore completed with 0 errors and only 1 informational warning (NU1510)
Outcome
Success - All NuGet packages updated, removed, or added per plan. Restore clean.
[2026-03-31 21:38] TASK-005: Migrate SqlClient Namespace
Status: Complete
- Files Modified:
- Football/Database/APIResponse.cs, BetType.cs, Bookmaker.cs, Comparison.cs, Fixture.cs, FixtureLeague.cs, Goals.cs, H2H.cs, League.cs, LeagueStats.cs, Odds.cs, Prediction.cs, Score.cs, Team.cs, TeamStats.cs
- Football/Manager/Database.cs
- Manager/Database.cs
- HorseRacing/Main.cs
- (Additional file: HorseRacing/Manager/Database.cs if present)
- Code Changes: Replaced all
System.Data.SqlClientreferences withMicrosoft.Data.SqlClientacross 19 files (including using directives and fully-qualified references in Fixture.cs) - Errors Fixed: APIResponse.cs was accidentally emptied due to file lock during bulk replace; recovered from git and manually patched
- Verified:
- Zero remaining
System.Data.SqlClientreferences - All files confirmed using
Microsoft.Data.SqlClient
- Zero remaining
Outcome
Success - SqlClient namespace migration complete across all 19 affected files.
[2026-03-31 21:46] TASK-006: Build Solution and Fix Compilation Errors
Status: Complete
- Files Deleted: HorseRacingPredictor/HorseRacingPredictor/CsvHelperStubs.cs
- Code Changes: Removed CsvHelperStubs.cs which contained placeholder type definitions conflicting with actual CsvHelper 33.1.0 package types (IReaderRow, MemberMapData, DefaultTypeConverter, CsvReader, etc.)
- Errors Fixed: 4 CS0104 ambiguous reference errors in Manager/FileReader.cs (IReaderRow, MemberMapData) resolved by removing conflicting stub file
- Build Status: Successful — 0 errors, 1 warning (NU1510 informational)
Outcome
Success - Solution builds with 0 errors on .NET 10.0.
[2026-03-31 21:54] TASK-007: Final Verification and Commit
Status: Complete
- Verified:
- Project targets net10.0-windows ✅
- Project uses SDK-style format (Microsoft.NET.Sdk) ✅
- UseWPF enabled ✅
- Microsoft.Data.SqlClient 7.0.0 present ✅
- System.Configuration.ConfigurationManager 10.0.5 present ✅
- Zero remaining System.Data.SqlClient references ✅
- Framework-included packages removed ✅
- Solution builds with 0 errors ✅
- Commits:
cfb29cc: "Upgrade BettingPredictor from .NET Framework 4.8.1 to .NET 10.0" - Files Modified: 24 files (211 insertions, 424 deletions)
Outcome
Success - All success criteria verified, changes committed on upgrade-to-NET8 branch.