What can be the reason that the personal .config
file does not work in C# Visual Studio project?
I had the Business.config
in a project and I added the Business.Debug.Yaroslav.config
. Then I unloaded and reloaded the project. And now I expect the properties specified in the Business.Debug.Yaroslav.config
to override the properties in all other Business.*.config
files. But it does not happen.
While the same steps above worked for another .config
file in the same project. The App.Base.config
.
The properties specified in the App.Debug.Yaroslav.config
really override the properties in other App.*.config
files.
Also I picked the configuration as the Debug.Yaroslav
.
How can I make the Business.*.config
to use a personal .config
file depending on the current solution configuration (in my case I want to use the Business.Debug.Yaroslav.config
when the configuration is Debug.Yaroslav
)?
I am using the Visual Studio 2019.