Config file.

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.
 
M

mikeb

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top