Skip to content

[mono] Propagate hosting properties through AppContext #37240

Closed
@CoffeeFlux

Description

@CoffeeFlux

See: https://github.com/dotnet/runtime/blob/master/src/mono/mono/mini/monovm.c#L184-L192

While setting the environmental variable works for now, it would be nice to handle this properly, especially since we may want to set other AppContext properties in this fashion. There should be two main components to this work:

  1. Creating helper functions for calling into AppContext from the native side
  2. Storing the relevant properties set at host initialization (monovm_initialize) until they can be set after runtime startup (mono_jit_init)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions