Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Personal .config file does not work in C# Visual Studio project

$
0
0

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.

enter image description here

While the same steps above worked for another .config file in the same project. The App.Base.config.

enter image description here

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.

enter image description here

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.


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>