slow-cheetah icon indicating copy to clipboard operation
slow-cheetah copied to clipboard

Transformation happening after config is loaded

Open drvic10k opened this issue 2 years ago • 2 comments

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

drvic10k avatar Apr 04 '22 13:04 drvic10k

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

saulyt avatar Jul 27 '22 16:07 saulyt

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.

Transzendental avatar Sep 20 '22 19:09 Transzendental