Skip to content

chore: clean up residual directories, add Core references, trim readiness (#348)#349

Merged
JusterZhu merged 1 commit into
masterfrom
chore/cleanup-residual-aot
May 24, 2026
Merged

chore: clean up residual directories, add Core references, trim readiness (#348)#349
JusterZhu merged 1 commit into
masterfrom
chore/cleanup-residual-aot

Conversation

@JusterZhu

Copy link
Copy Markdown
Collaborator

Summary

Deletes residual source directories and updates all projects to directly reference Core instead of file-linking to the deleted Common directory. Adds trim/AOT readiness annotations.

Changes

Deleted (dead code after #312 merge)

  • src/c#/GeneralUpdate.Common/ — 80 files
  • src/c#/GeneralUpdate.ClientCore/ — 14 files

Updated projects (file-link elimination)

Project Before After
Bowl 57 file links to Common ProjectReference to Core
Drivelution 3 file links to Common ProjectReference to Core
Extension 3 file links to Common ProjectReference to Core

Namespace fixes

  • GeneralUpdate.Core.Shared.*GeneralUpdate.Core.* (Core's flat namespace)
  • GeneralUpdate.Core.Internal.*GeneralUpdate.Core.*
  • GeneralUpdate.Core.FileBasicGeneralUpdate.Core.FileSystem
  • Affected: Bowl (11 files), Drivelution (12 files), Extension (2 files)

Trim/AOT readiness

  • Core.csproj: added <IsTrimmable>true</IsTrimmable> + <EnableTrimAnalyzer>true</EnableTrimAnalyzer>
  • Extension: upgraded Microsoft.Extensions packages 3.1.32 → 10.0.1 (resolved transitive dep conflict)

Verification

  • dotnet build src/c#/GeneralUpdate.slnx0 errors

Closes #348

…ness

- Deleted src/c#/GeneralUpdate.Common/ (dead code after project merge)
- Deleted src/c#/GeneralUpdate.ClientCore/ (dead code after project merge)
- Updated Bowl, Drivelution, Extension to reference Core directly
  (removed file-link compilation to deleted Common directory)
- Fixed namespace references: GeneralUpdate.Common → GeneralUpdate.Core
  in Bowl, Drivelution, Extension source files
- Added IsTrimmable + EnableTrimAnalyzer to Core.csproj
- Upgraded Extension Microsoft.Extensions packages to 10.0.1

Closes #348
Copilot AI review requested due to automatic review settings May 24, 2026 08:05
@JusterZhu JusterZhu added the refactor Refactor some existing code. label May 24, 2026
@JusterZhu JusterZhu merged commit a6d04b6 into master May 24, 2026
1 check failed
@JusterZhu JusterZhu deleted the chore/cleanup-residual-aot branch May 24, 2026 08:06
@JusterZhu JusterZhu removed the request for review from Copilot May 24, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactor some existing code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

T4: Clean up residual directories + AOT trim compatibility

1 participant