Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key Not Found in AppSettings #166

Open
ghost opened this issue Nov 27, 2018 · 0 comments
Open

Key Not Found in AppSettings #166

ghost opened this issue Nov 27, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 27, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants