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

Transformation happening after config is loaded #253

Open
drvic10k opened this issue Apr 4, 2022 · 2 comments
Open

Transformation happening after config is loaded #253

drvic10k opened this issue Apr 4, 2022 · 2 comments

Comments

@drvic10k
Copy link

drvic10k commented Apr 4, 2022

The transformation is correctly applied and the resulting config file in the output looks as expected.
But the configuration loaded in memory is as if taken from the original config file.

project is .net 6 self hosted web API project using appsettings.json configuration file

@saulyt
Copy link

saulyt commented Jul 27, 2022

I am having the same issue. Is there a workaround?

@Transzendental
Copy link

I was facing the same issue. You should check the launchSettings.json file, there is the ASPNETCORE_ENVIRONMENT defined which is taking precedence over the choosen build configuration.

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

3 participants