Skip to content

Pin FileVersions in platform manifest for the ref packs in the servicing #61216

Closed

Description

@Anipik

Currently when we build the ref packs, the platform manifest contains the fileversions with the buildNumber string (which will change when we build the ref pack in servicing).

This could cause problems as apps could only target against rtm tfm. We would like to pin the fileversions in the platform manifest to the 6.0.0 ref pack.

cc @ericstj @safern @jkoritzinsky

Activity

  1. ghost added
    untriaged
    on Nov 4, 2021
  2. ericstj commented on Nov 4, 2021

    @ericstj
    Member

    We need to decide the best way to freeze the data files in the ref-pack during servicing. They need to represent the "GA" state of the product since the ref-pack represents a minimum version of the runtime for a given target framework (eg: net6.0).

    ASP.NET achieves this by checking in the GA version of these files. Shown here:
    https://github.com/dotnet/aspnetcore/blob/4e47fd8f759dbdeeadadf689cd4e60c614932ae3/src/Framework/App.Ref/src/Microsoft.AspNetCore.App.Ref.csproj#L59-L60

    We haven't done this yet for runtime since we haven't serviced the ref-pack before, but we need to do that in 6.0.

    @jkoritzinsky what do you suppose is the best way to handle this scenario in the shared framework SDK? Should we check in the file like ASP.NET does, or should we do something else to freeze to the GA data?

  3. removed
    untriaged
    on Nov 4, 2021
  4. added this to the 6.0.x milestone on Nov 4, 2021
  5. jkoritzinsky commented on Nov 4, 2021

    @jkoritzinsky
    Member

    I think freezing the data files makes sense. We'll need to add an option in the shared framework sdk (probably just a property to set) that would skip all of the data file generation steps. Then in dotnet/runtime, we'd add the files manually with matching MSBuild item metadata to what the shared framework sdk does.

  6. jkoritzinsky commented on Nov 4, 2021

    @jkoritzinsky
    Member

    Yes, I think that would work well.

  7. ghost added
    in-pr
    on Nov 5, 2021
  8. ghost removed
    in-pr
    on Nov 15, 2021
  9. ghost locked as resolved and limited conversation to collaborators on Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions