File Nesting (appsettings.json)

Answered

Hello and good day. I have what may seem to be a trivial question, but for the life of me, I am unable to find the solution on Google or the forums. I am trying to figure out how to auto nest out appsettings.json files in out .net projects in Rider. i.e.

  • appsettings.json
  • appsettings.dit.json
  • appsettings.sit.json
  • appsettings.uat.json

I know I can set them as "dependent" on the appsettings, but I would like this nesting to automatically happen. Any help would be greatly appreciated!

0
2 comments

Hello Jake,

You can configure file nesting rules manually:

5
Avatar
Permanently deleted user

Hi!

I made a NuGet package for appsettings files nesting in Rider: AppSettings.DependentUpon

3

Please sign in to leave a comment.