Install new version of c# windows app with old setting (without overwritting exe.config)
In my c# windows application, I want to Exclude MyApp.Exe.Config from my Setup Package as I don't want it to get overwritten during upgrade installation of my application.
If I remove app.config while building the setup, it removes existing app.config on the target machines and if included, it overwrites the existing ones.
I also tried using the ExcludeFilter property on the Project Output group but when I exclude *.config, It removes the config file of previous installation.
So, somebody please suggest some ideas so that I do not need to reset my previous settings in new installation.