I ran into this while debugging my setup, and accidentally mixed both Service & Environment Config. As those errors go, it took me way longer than I want to admit to find the issue. Hopefully this small hint saves somebody some time.
The underlying issue is that hard-coded configuration takes priority over config in the appsettings.json files.
I.E. I configure Server.AutoRun etc in appsettings.json, and Manifest in the Program.cs, only the config from Program.cs will be loaded.
I ran into this while debugging my setup, and accidentally mixed both Service & Environment Config. As those errors go, it took me way longer than I want to admit to find the issue. Hopefully this small hint saves somebody some time.
The underlying issue is that hard-coded configuration takes priority over config in the
appsettings.json
files. I.E. I configureServer.AutoRun
etc in appsettings.json, andManifest
in theProgram.cs
, only the config fromProgram.cs
will be loaded.