Skip to content

.NET: Generate a binary version of runtimeconfig.json for mobile targets #11745

@rolfbjarne

Description

@rolfbjarne

We need to generate a binary version of runtimeconfig.json for certain features to work.

Steps:

  • Use Mono's task to convert *.runtimeconfig.json to a binary blob.
  • Bundle the blob in the .app
  • Don't bundle the json in the app.

Ref: #11693 (comment)
Ref: https://github.com/dotnet/runtime/blob/01b7e73cd378145264a7cb7a09365b41ed42b240/docs/design/mono/mobile-runtimeconfig-json.md
Ref: dotnet/runtime#49237
Ref: dotnet/android#6009

Metadata

Metadata

Assignees

No one assigned

    Labels

    dotnetAn issue or pull request related to .NET (6)dotnet-pri0.NET 6: required for stable releaseestimate-2dfeatureA feature to be implemented

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions