Thanks in advance for any help. This is what happened, when I changes the value in app.config after I had published the application, I can see that the value is being updated. However, when I copied the application (without the myproject.exe.config) to some other location in my laptop. The value is not being updated (still the same value as those being published).
To make things simpler, allow me to provide an example:
when it is published- value for username = admin
then I went to change the value for username to administrator
if the application is run with myproject.exe.config in the same folder location, it will take the new username (administrator)
However, if the application is run without myproject.exe.config, in other words, only the application remain in that folder, it will take the old username(admin)
How can I make it such that even if the myproject.exe.config is not in that directory, the application will still take the latest value?