Skip to content

Code Quality: Introduce Directory.Packages.props for better dependency management #16356

@Lamparter

Description

@Lamparter

Description

Similar to #14826, which would allow for seamless property management across projects, but instead this would allow for seamless package management. This would allow for easier ability to update dependencies across projects.

Concerned code

All projects.

Gains

  • Better ability to update dependencies
  • Easier way to see all the dependencies used by the projects and quickly identify each of them
  • Offers similar benefits to using Directory.Build.props

Requirements

Very easy:

  • Create Directory.Packages.props file
  • Migrate package references into the file
  • Remove version references from project files
  • Add package references to project files

Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions