exe.config file problem

AhmedHindy
AhmedHindy used Ask the Experts™
on
hello all ,
i develop application using vb.net and I write settings in the app.config file
the problem when i restart debugging the file is empty and i have to write in the file again .
i want exe.config not to be empty when restart the debugging
any help ?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Éric MoreauSenior .Net Consultant
Top Expert 2016

Commented:
as you can read from http://emoreau.com/Entries/Articles/2007/03/AppSettings-revisited.aspx : "This configuration file is simply a XML file. You might be tempted in editing this file directly into the bin folder but never – never - never do that! Every time you will rebuild your project, this file will be recreated."
solutionthis is the solution :
uncheck enable vs hosting proces

Author

Commented:
IT WORKED

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial