Skip to content

Key Not Found in AppSettings #166

@ghost

Description

Hi Jason,

we have a slightly unusual project setup. We created an asp.net core project, however it targets net462 only. I have an appsettings.json file with some features in but when I try and check a feature I get the 'Key not found in appsettings' error.

I can replicate this by creating a default Asp.Net core API project then changing the target framework to net462, creating a feature and then testing the feature in the controller.

I'm guessing it's loading the settings file (I'm not getting the FileNotFound error that I've also seen reported here) but then cannot load the feature flag from that file.

Any help gratefully received.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions