Migrate to centralized NuGet package management (CPM)#940
Merged
Tyrrrz merged 2 commits intoTyrrrz:masterfrom Feb 26, 2026
Merged
Migrate to centralized NuGet package management (CPM)#940Tyrrrz merged 2 commits intoTyrrrz:masterfrom
Tyrrrz merged 2 commits intoTyrrrz:masterfrom
Conversation
Tyrrrz
reviewed
Feb 26, 2026
There was a problem hiding this comment.
Pull request overview
This pull request migrates the YoutubeExplode solution to use centralized NuGet package management (CPM) by introducing a Directory.Packages.props file at the solution root. This standardizes how package versions are managed across all projects, making it easier to maintain consistent dependency versions and simplify future updates.
Changes:
- Added
Directory.Packages.propswith centralized version definitions for all 24 NuGet packages used across the solution - Removed
Versionattributes from all<PackageReference>elements in 6 project files while preserving other attributes likePrivateAssetsandCondition - Unified the PolyShim package version from 2.3.0 (in Converter project) to 2.5.0 (matching other projects)
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| Directory.Packages.props | New file defining centralized package versions for all 24 NuGet packages with ManagePackageVersionsCentrally enabled |
| YoutubeExplode/YoutubeExplode.csproj | Removed version attributes from 9 package references while maintaining conditional references and other attributes |
| YoutubeExplode.Tests/YoutubeExplode.Tests.csproj | Removed version attributes from 8 test-related package references |
| YoutubeExplode.Demo.Gui/YoutubeExplode.Demo.Gui.csproj | Removed version attributes from 7 Avalonia and UI-related package references |
| YoutubeExplode.Demo.Cli/YoutubeExplode.Demo.Cli.csproj | Removed version attribute from single CSharpier.MsBuild package reference |
| YoutubeExplode.Converter/YoutubeExplode.Converter.csproj | Removed version attributes from 4 package references, now using unified PolyShim version |
| YoutubeExplode.Converter.Tests/YoutubeExplode.Converter.Tests.csproj | Removed version attributes from 8 test-related package references |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
b03a75d to
719482a
Compare
Tyrrrz
reviewed
Feb 26, 2026
Tyrrrz
approved these changes
Feb 26, 2026
Owner
|
Thank you for the PR! |
This was referenced Feb 26, 2026
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.
Introduces
Directory.Packages.propsto centralize NuGet package version management across all projects in the solution. All package versions are now defined in a single location.Changes
Directory.Packages.propsat the solution root.Versionattributes from all<PackageReference>elements in.csprojfiles.Notes
This change does not affect runtime behavior. It standardizes dependency management and simplifies future version updates.