Move common package references to build props; Update some packages#376
Merged
ManlyMarco merged 1 commit intomasterfrom Jan 24, 2026
Merged
Move common package references to build props; Update some packages#376ManlyMarco merged 1 commit intomasterfrom
ManlyMarco merged 1 commit intomasterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request centralizes common NuGet package references by moving them from individual project files to the centralized Directory.Build.props file, and updates several package versions from 19.4 to 21.0. The centralization uses regex-based conditional logic to automatically include the appropriate packages based on project naming conventions (e.g., projects starting with "KK", "KKS", "HS2", etc.).
Changes:
- Centralized common package references (IllusionLibs, ExtensibleSaveFormat, KoikatuCompatibilityAnalyzer) in Directory.Build.props using regex pattern matching
- Updated ExtensibleSaveFormat, Sideloader, and ScreenshotManager packages from version 19.4 to 21.0
- Removed redundant package references from 134 individual .csproj files
Reviewed changes
Copilot reviewed 172 out of 172 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| Directory.Build.props | Added regex-based conditional package references for PC, PH, HS, AI, HS2, EC, KK, and KKS game variants; includes IllusionLibs.AllPackages, ExtensibleSaveFormat, and KoikatuCompatibilityAnalyzer |
| src/MaterialEditor.API/API.MaterialEditor.csproj | Updated package versions to use wildcard versioning (5.*, , 4.18.) |
| src/Autosave.SBPR/SBPR.Autosave.csproj | Updated IllusionLibs.BepInEx from 5.4.22 to 5.* |
| All UncensorSelector./UncensorSelector..csproj | Removed IllusionLibs.AllPackages references, updated Sideloader packages to 21.0 |
| All MaterialEditor./MaterialEditor..csproj | Removed IllusionLibs.AllPackages references, updated Sideloader packages to 21.0 |
| All StudioCustomMasking./StudioCustomMasking..csproj | Removed IllusionLibs.AllPackages and ExtensibleSaveFormat references, updated ScreenshotManager to 21.0 |
| All other modified .csproj files | Removed centralized package references that are now in Directory.Build.props |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Required BepisPlugins bumped to v21.0. Always use the latest game assembly packages.