You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use Central Package Management for the package versions in unoplatform/uno #24536
area/buildCategorizes an issue or PR as relevant to build infrastructurekind/enhancementNew feature or requesttriage/untriagedIndicates an issue requires triaging or verification
Move the package versions used to build unoplatform/uno into NuGet Central Package Management (src/Directory.Packages.props).
Today versions come from two places:
PackageReference Update pins in src/Directory.Build.targets
inline Version attributes on PackageReference items in about 60 project, .props and .targets files
Where a package has both, the Update pin wins without any warning, so many inline versions are dead text. For example, Uno.Analyzers.Tests declares NuGet.Packaging 6.0.2 but restores 6.3.4, and Uno.UI.DevServer.Cli declares Microsoft.Extensions.Logging.Console 9.0.0 but restores 5.0.0. Packages that exist in only one project drift apart across the DevServer projects (StreamJsonRpc, Mono.Options, Microsoft.Extensions.DependencyInjection, Microsoft.Extensions.Logging).
Expected:
Every version is declared once, in src/Directory.Packages.props.
Project files carry no Version, which NuGet enforces with NU1008.
A project that must diverge (Roslyn floors for shipped source generators and analyzers, the dev-server Roslyn lines) opts into a named version line instead of a literal.
Why is this needed? 🤔
One place to bump a dependency, no dead version declarations, and restore fails instead of silently ignoring a stray inline version.
Renderer 🎨
Skia
Native
For which platforms 📱💻🖥️
Build tasks
Anything else we need to know? 💬
The templates under src/SolutionTemplate/ keep their own restore setup and should not pick up the repository's central versions.
area/buildCategorizes an issue or PR as relevant to build infrastructurekind/enhancementNew feature or requesttriage/untriagedIndicates an issue requires triaging or verification
Activity