Skip to content

Get latest runtime patch information without requiring users to update the SDK #11226

@dsplaisted

Description

@dsplaisted

This designs PR covers some of the scenario: dotnet/designs#87

We now expect to solve this with some of the optional workload features: https://github.com/dotnet/designs/blob/master/accepted/2020/workloads/workloads.md

Plan of record (for now):

  • Put the latest runtime versions in a workload manifest
  • "Automatic" process downloads latest manifests into user-writeable space. These are the advertised manifests
  • Use workload advertised manifest to notify that latest self-contained versions are out of date
  • Have command to update latest self-contained versions
    • In later versions when we have acquisition, this would probably just be a workload update
    • In .NET 5, this would be a non-workload command which would copy the latest versions from the advertised manifest into a separate user-space file
  • Runtime pack version selection would work as follows
    • Get latest version between currently installed manifest and user-space latest version file
    • Use this version for build
    • Also compare the version used for build with the latest version from the advertised manifest. If the used version is out of date, generate warning / message saying there's a newer version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions