michael
michael

Reputation: 15282

C# BestPractice: Is it ok to have more than one Settings file?

I know it's possible to use more than one .settings file, but is it a best practice to do so? The only way I can seem to do it is by copy/pasting a file since Add>Item... doesn't have a settings file listed in it.

Upvotes: 2

Views: 142

Answers (1)

Spencer Ruport
Spencer Ruport

Reputation: 35107

I don't think there's anything wrong with having multiple settings files but I do think having two *.settings files is confusing. I'm not sure what reason there would do that I'm sure other .net developers would be equally confused as well. If for some reason you need another settings file don't name it *.settings.

Upvotes: 2

Related Questions