By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,673 Members | 1,302 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,673 IT Pros & Developers. It's quick & easy.

name.exe.config is getting killed by 2003?

P: n/a
When I compile my project in VS.NET 2003, the projectName.exe.config file in the
BIN directory is deleted.

This was not the case in VS.NET 2002.

How can I resolve this?
--
Thanks in advance, Les Caudle
Nov 13 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Les,

Add the config file to your project in VS.NET, and it should be copied
over to the bin directory when you compile.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Les Caudle" <ve**@tiredofspam.com> wrote in message
news:35********************************@4ax.com...
When I compile my project in VS.NET 2003, the projectName.exe.config file in the BIN directory is deleted.

This was not the case in VS.NET 2002.

How can I resolve this?
--
Thanks in advance, Les Caudle

Nov 13 '05 #2

P: n/a
Hi,

In addition be sure that the Build action ( accesible from the property
window) of the file is Content

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Nicholas Paldino [.NET/C# MVP]" <ni**************@exisconsulting.com> wrote
in message news:uR**************@tk2msftngp13.phx.gbl...
Les,

Add the config file to your project in VS.NET, and it should be copied
over to the bin directory when you compile.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Les Caudle" <ve**@tiredofspam.com> wrote in message
news:35********************************@4ax.com...
When I compile my project in VS.NET 2003, the projectName.exe.config
file in the
BIN directory is deleted.

This was not the case in VS.NET 2002.

How can I resolve this?
--
Thanks in advance, Les Caudle


Nov 13 '05 #3

P: n/a
Ignacio,
If you name the file "app.config" literally "app.config" without the quotes.
VS.NET knows to copy it to the output folder as myproject.exe.config.

Naming it app.config, you leave the build action as None.

app.config is treated special like this in both VS.NET 2002 & VS.NET 2003.

Hope this helps
Jay

"Ignacio Machin" <ignacio.machin AT dot.state.fl.us> wrote in message
news:e$**************@tk2msftngp13.phx.gbl...
Hi,

In addition be sure that the Build action ( accesible from the property
window) of the file is Content

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Nicholas Paldino [.NET/C# MVP]" <ni**************@exisconsulting.com> wrote in message news:uR**************@tk2msftngp13.phx.gbl...
Les,

Add the config file to your project in VS.NET, and it should be copied over to the bin directory when you compile.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Les Caudle" <ve**@tiredofspam.com> wrote in message
news:35********************************@4ax.com...
When I compile my project in VS.NET 2003, the projectName.exe.config

file
in the
BIN directory is deleted.

This was not the case in VS.NET 2002.

How can I resolve this?
--
Thanks in advance, Les Caudle



Nov 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.