1

I have a dotnet core 2.2 project working in vs2017. However something weird is going on with the appsettings. It look like this enter image description here

In my others soulutions it look like this

enter image description here

I cant seem to find the difference between the two projects setups..

Any ideas?

Bjarke
  • 1,283
  • 11
  • 36
  • Could it be a console project? See https://stackoverflow.com/questions/51253779/how-do-i-get-a-console-project-to-group-my-appsettings-json-files/68588210#68588210 – Yahoo Serious Jul 30 '21 at 09:01
  • Does this answer your question? [How do I get a console project to group my appsettings.json files?](https://stackoverflow.com/questions/51253779/how-do-i-get-a-console-project-to-group-my-appsettings-json-files) – Yahoo Serious Jul 30 '21 at 09:08

1 Answers1

3

Check your nesting settings at the top of Solution Explorer

file nesting options

More info on what the different settings mean can be found at https://learn.microsoft.com/en-us/visualstudio/ide/file-nesting-solution-explorer?view=vs-2019

Kevin
  • 66
  • 2
  • 4