prevent xml config file from being deleted when recompiling?????????
Posted on 2003-11-26
I use xml configuration file:
For example, if the application's name is Test.exe, the configuration file is: Test.exe.config.
The problem is: everytime when rebuild/compile, Test.exe will be renewed, and Test.exe.config will be deleted(this is not desirable. I don't want config file to be deleted).
1.How to keep config file when compiling the project? I am using Visual Studio. Is there a config option that I can switch between delete and not delete?
2.Another question, someone uses App.config as the configuration file name, it works too. What is the difference btn using App.config and Test.exe.config?