Skip to content

Legacy package reference does not no-op after building on package install. #5419

@nkolev92

Description

@nkolev92

Legacy package reference does not no-op after the first build after package install.

The package install adds the package to the "dependencies" but not in the frameworks.
In addition the version during install is normalzied version range while during on build restore it's not.

On install

      "dependencies": {
        "Newtonsoft.Json": {
          "target": "Package",
          "version": "[10.0.2, )"
        }
      },
      "frameworks": {
        "net461": {}
      },

On build restore

      "dependencies": {
        "Newtonsoft.Json": {
          "target": "Package",
          "version": "10.0.2"
        }
      },
      "frameworks": {
        "net461": {
          "dependencies": {
            "Newtonsoft.Json": {
              "target": "Package",
              "version": "10.0.2"
            }
          }
        }
      },

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions