Config file (App.config) does not update on new installation

Posted by Muhammad Kashif Nadeem on Server Fault See other posts from Server Fault or by Muhammad Kashif Nadeem
Published on 2009-12-18T11:33:07Z Indexed on 2010/06/08 7:02 UTC
Read the original article Hit count: 415

Filed under:
|

I am creating setup of my project using Visula Studio 2008. I am facing problem in setup installation.

If I uninstall old setup (application) and install the new one then config file (App.config) updates the attributes (surely it is new file) of config file but if I install new setup without uninstalling the old one then config file does not update.

from config file I mean MyProject.exe.config

Why is this behavior of config file. Should it not be updated on installation of the new setup

Is this possible to delete and copy the config file of new setup?

Is there a way to update only config file forcefully during installation.

Thanks for your help!

© Server Fault or respective owner

Related posts about setup

Related posts about visual-studio