D
Dica
i've followed the instructions i found here about how to add a config file
to my applicaiton:
http://www.c-sharpcorner.com/Code/2003/Nov/CreateUseConfigFiles.asp
the instructions state that i create a config file named after the
executable, so, as my exe is timeTracker.exe, i've created a file called
timeTracker.exe.config and placed it in the bin/debug folder. i then added a
reference to the file in VS by selecting "File/Add existing item". VS
replicates the config file under the project's root folder (even though the
config file is already in the bin/debug folder). when i then run the app and
try to read a value from the file, i get nothing. when i look in the
bin/debug folder, the config file is gone (though it still exists in the
project root folder). any ideas what's going wrong?
to my applicaiton:
http://www.c-sharpcorner.com/Code/2003/Nov/CreateUseConfigFiles.asp
the instructions state that i create a config file named after the
executable, so, as my exe is timeTracker.exe, i've created a file called
timeTracker.exe.config and placed it in the bin/debug folder. i then added a
reference to the file in VS by selecting "File/Add existing item". VS
replicates the config file under the project's root folder (even though the
config file is already in the bin/debug folder). when i then run the app and
try to read a value from the file, i get nothing. when i look in the
bin/debug folder, the config file is gone (though it still exists in the
project root folder). any ideas what's going wrong?