У меня есть приложение ASP. NET Core 3.1 в Visual Studio 2019, и различные файлы appsettings.*.json
отображаются «вложенными» в основной файл appsettings.json
, например:

In my .NET Core 3.1 Console App, however, the appsettings.json
files appear flat, not nested:

The .csproj file for the web application is also extremely simple:
netcoreapp3.1
whereas the .csproj file for the console application seems to explicitly mention the appsettings files:
PreserveNewest СохранитьНовый PreserveNewest
Как сделать так, чтобы мои файлы appsettings.json
в консольном приложении выглядели «вложенными», как в веб-приложении? Может ли кто-нибудь предложить дополнительные сведения о том, как / почему эти файлы .csproj выглядят иначе?