Skip to content

Unify Package Dependency Version numbers to version number under Package Definitions #25

Description

@natidea

Package versions specified as dependencies, might be different from the same package version in the unique packages collection (PackageDefinitions). Meaning PackageDefinitions might contain System.Runtime 4.0.20, but some package A would depend on System.Runtime 4.0.0. In such case your task should match them and unify to 4.0.20 everywhere (otherwise consumers would report that some package are not found).

Dotnet runtime did it for us and sent a warning (we called it diagnostics) associated with the package A “different version of package System.Runtime was used.”. With or without diagnostics this should be done, diagnostics are separate work item.

Activity

  1. self-assigned this
    on Aug 8, 2016
  2. natidea commented on Aug 28, 2016

    @natidea
    ContributorAuthor

    Related concern: some package dependency versions cover a range that is both min and max inclusive. E.g.

          "Microsoft.CodeAnalysis.CSharp/1.3.0": {
            "type": "package",
            "dependencies": {
              "Microsoft.CodeAnalysis.Common": "[1.3.0]"
            }
          },

    In this case the version string [1.3.0] won't match any package definition. It should be unified to version number of package definition for Microsoft.CodeAnalysis.Common but for now we use min version.

  3. modified the milestone: on Sep 16, 2016
  4. added a commit that references this issue on Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions