473,503 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

name.exe.config is getting killed by 2003?

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
3 2253
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
10187
by: Rubal Jain | last post by:
Hello - While installing ASP.Net on Windows 2003 I am getting the followin error : Error parsing C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config Parser returned error...
1
2369
by: Tom wilson | last post by:
I've been through everything with this error and cannot get the debugger to work remotely. The only thing I can trace it down to is that RPC is not communicating between servers. So after many,...
1
270
by: Robert Pfeffer | last post by:
Hi, I have a rather unusual problem. I have a very simple ASP.NET application, basically hello world type. I created it with Visual Studio 2003 and am running it in debug mode. It runs fine...
4
1687
by: Robert Pfeffer | last post by:
Hi, I have a rather unusual problem. I have a very simple ASP.NET application, basically hello world type. I created it with Visual Studio 2003 and am running it in debug mode. It runs fine...
16
1964
by: Timm | last post by:
I'm trying to use ASP objects (basically formed and populated based on Web.Config settings) and I want to use them in a different non-asp program with minimal reprogramming. So, my question is how...
2
23162
by: niklesh | last post by:
Dear all, when i am trying to giving web reference to webservices i am getting above said error.. i tried to find out what is the main problem then i got from microsoft support that i have to...
0
983
by: Jim | last post by:
I am really having quite a time getting VS 2005 up and going... just enough seems to be different that it makes it hard to hit the ground running. I had a number of problems getting it work right...
4
2423
by: Aloysius Maria Selvam | last post by:
Hello, We have a problem in our web application. The error reported is given with in brackets : You can see the folder name "/Home/Controller/ getting repeated in the URL. For you information ...
2
4707
by: John | last post by:
Help! I've just spend the last three days researching and testing the following issue without any results. I have a test page setup to get the Windows logon name of the user. The site is a...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7084
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
5013
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.