App.Config File

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been using VS.Net 2002 up until now. When I create an App.Config file (AppName.exe.config) and place it in the bin directory, I will remain undamaged when I press F5 to run my program. In VS.NEt 2003, the app.config file is deleted. I have tried copying it into the project as setting its build action to content, but that only seems to work with the compact framework. How do I solve this problem, as my application requires the app.config file to run.
 
Finally found the answer in the help. I added the config file to my project (renamed 'App.Config'!!!). VS copies it to the bin directory (and renames it ApplicationName.exe.config) when I press F5.
 
* =?Utf-8?B?U3RldmVu?= said:
Finally found the answer in the help. I added the config file to my
project (renamed 'App.Config'!!!). VS copies it to the bin directory
(and renames it ApplicationName.exe.config) when I press F5.

Thanks for sharing that with the group!
 
Back
Top