Problem with .config File in VS.NET 2003

B

Bill Large

We are in the process of converting our 1.0 project to 1.1 using VS.NET 2003
and we were using a .config file with our exe. But now VS.NET 2003 seems to
delete this file during a debug run. Does anyone know why this is
happening?

Thank you

Bill
 
A

Alan Pretre

Bill Large said:
We are in the process of converting our 1.0 project to 1.1 using VS.NET 2003
and we were using a .config file with our exe. But now VS.NET 2003 seems to
delete this file during a debug run. Does anyone know why this is
happening?

Your config file should be included as a file *within* your project and
should be named "app.config". VS will rename it and store it in the correct
output directory at build time.

-- Alan
 
B

Bill Large

Excellent. Thank you that worked.

Bill


Alan Pretre said:
seems

Your config file should be included as a file *within* your project and
should be named "app.config". VS will rename it and store it in the correct
output directory at build time.

-- Alan
 

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

Members online

Forum statistics

Threads
474,077
Messages
2,570,567
Members
47,203
Latest member
EmmaSwank1

Latest Threads

Top