• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

exe.config file problem

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 ?
0
AhmedHindy
Asked:
AhmedHindy
  • 2
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
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."
0
 
AhmedHindyAuthor Commented:
solutionthis is the solution :
uncheck enable vs hosting proces
0
 
AhmedHindyAuthor Commented:
IT WORKED
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now