473,386 Members | 1,733 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,386 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 2834
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.