Skip to content

Unify AppContext handling and make it all trimmable #44588

Open

Description

AppContext is useful only for workloads which allow users to alter the execution environment or launch configs but for workloads which don't there should be an option to remove all AppContext logic and use the values known at compilation time.

There are multiple ways how AppContext is handled inside libraries, some use LocalAppContextSwitches others AppContextConfigHelper or call AppContext directly. This should be unified so we can trim all AppContext logic and keep only code path which will be executed.

@eerhardt @vitek-karas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area-System.Runtimesize-reductionIssues impacting final app size primary for size sensitive workloads

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions