473,404 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Configuration Files VS.Net 2003

Yesterday I was giving a presentation on the Trace Class to my user's group.
For the purposes of the presentation, I wrote a quick app that used a
configuration file to set the TraceLevel of my switch. I wrote the app
under C#\VS.Net 2002 and hand wrote the config file.

When I opened the application up at the presentation, I got the upgrade
wizard and upgraded the app to VS.Net 2003. However, everytime I compiled
the application, I found that the configuration file got deleted. (I copied
the config file to both the debug and release directories).

Is this normal behavior for VS.Net 2003? If so, how do you properly
genrate/attach a config file to an application in VS.Net 2003?

As a side note, I've heard there were some minor changes to remoting
configuration in VS.Net 2003/.Net 1.1. Where can I find a list of the
changes?

Thanks,
Dave Girvitz, MCAD
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 07/18/2003
Nov 15 '05 #1
2 2835
Dave,
This is normal.

Microsoft fixed a 'feature' of VS.NET 2002 in VS.NET 2003. :-|

You need to add your config file to your VS.NET project's root folder as
app.config, it needs to be named "app.config" without the quotes. When you
build your project VS.NET (both 2002 & 2003) will copy the app.config file
from the project root to your output folder and name it appropriately
(myproject.exe.config).

Hope this helps
Jay
"Dave Girvitz" <dg******@hotmail.com> wrote in message
news:OP*************@tk2msftngp13.phx.gbl...
Yesterday I was giving a presentation on the Trace Class to my user's group. For the purposes of the presentation, I wrote a quick app that used a
configuration file to set the TraceLevel of my switch. I wrote the app
under C#\VS.Net 2002 and hand wrote the config file.

When I opened the application up at the presentation, I got the upgrade
wizard and upgraded the app to VS.Net 2003. However, everytime I compiled
the application, I found that the configuration file got deleted. (I copied the config file to both the debug and release directories).

Is this normal behavior for VS.Net 2003? If so, how do you properly
genrate/attach a config file to an application in VS.Net 2003?

As a side note, I've heard there were some minor changes to remoting
configuration in VS.Net 2003/.Net 1.1. Where can I find a list of the
changes?

Thanks,
Dave Girvitz, MCAD
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 07/18/2003

Nov 15 '05 #2
Thanks
Dave

"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message
news:ux**************@TK2MSFTNGP09.phx.gbl...
Dave,
This is normal.

Microsoft fixed a 'feature' of VS.NET 2002 in VS.NET 2003. :-|

You need to add your config file to your VS.NET project's root folder as
app.config, it needs to be named "app.config" without the quotes. When you
build your project VS.NET (both 2002 & 2003) will copy the app.config file
from the project root to your output folder and name it appropriately
(myproject.exe.config).

Hope this helps
Jay
"Dave Girvitz" <dg******@hotmail.com> wrote in message
news:OP*************@tk2msftngp13.phx.gbl...
Yesterday I was giving a presentation on the Trace Class to my user's

group.
For the purposes of the presentation, I wrote a quick app that used a
configuration file to set the TraceLevel of my switch. I wrote the app
under C#\VS.Net 2002 and hand wrote the config file.

When I opened the application up at the presentation, I got the upgrade
wizard and upgraded the app to VS.Net 2003. However, everytime I compiled the application, I found that the configuration file got deleted. (I

copied
the config file to both the debug and release directories).

Is this normal behavior for VS.Net 2003? If so, how do you properly
genrate/attach a config file to an application in VS.Net 2003?

As a side note, I've heard there were some minor changes to remoting
configuration in VS.Net 2003/.Net 1.1. Where can I find a list of the
changes?

Thanks,
Dave Girvitz, MCAD
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 07/18/2003


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 07/18/2003
Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dave Girvitz | last post by:
Yesterday I was giving a presentation on the Trace Class to my user's group. For the purposes of the presentation, I wrote a quick app that used a configuration file to set the TraceLevel of my...
3
by: fred bliss | last post by:
Hi All We have a new server running the latest framework, windows server 2003 & IIS 6.0, and we're getting the following error when we try to load the app in IE. Server Error in...
4
by: Maellic | last post by:
Hi, I'm having real trouble locating configuration settings on an existing website. Details follow: I've recently taken over a website developed with ASP.NET. Unfortunately the original...
4
by: Matthew Louden | last post by:
My ASP.NET application runs ok locally, but after I upload all the files to IIS in Windows Server 2003 Standard Edition, and no longer works. This has the following error messages: Configuration...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.