Config file.

  • Thread starter Thread starter Roman
  • Start date Start date
R

Roman

How can I add a config file to a windows forms project in
Visual Strudio.NET. (for example, I have Application.exe
project and I want to add new item (config file),
Application.exe.config, to the project). It doesn't seem
like there is a way to do so. I can do it by hand but I
would also have to remember to put this file into
the ..\bin\debug directory.
 
Roman said:
How can I add a config file to a windows forms project in
Visual Strudio.NET. (for example, I have Application.exe
project and I want to add new item (config file),
Application.exe.config, to the project). It doesn't seem
like there is a way to do so. I can do it by hand but I
would also have to remember to put this file into
the ..\bin\debug directory.

Add a file named app.config to the project. The build process will
rename it to Application.exe.config and place it in the output directory.
 
Back
Top