-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Background:
In our current development workflow, package versions are managed individually within each .csproj file. This can sometimes lead to inconsistencies in package versions across different projects, potentially causing runtime issues or version conflict errors.
Proposal:
To avoid potential versioning conflicts and to ensure consistency, I propose introducing a centralized package version management system.
Benefits:
- Consistency: All projects will reference the same version of a package, reducing potential runtime conflicts.
- Maintainability: Central management makes it easier to update packages across all projects. Instead of updating the version in multiple
.csprojfiles, we'll update it in one place. - Visibility: Developers can easily see which versions of packages the entire solution depends on, all in one place.
Implementation:
We'll make use of the Directory.Packages.props file (or equivalent approach) to manage NuGet package versions at the solution level. This will be the central place to define versions for all packages used across our projects.
Next Steps:
I'll proceed to implement this change, update our documentation to reflect the new approach, and ensure that our CI/CD processes align with this setup.