473,804 Members | 3,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2863
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******@hotma il.com> wrote in message
news:OP******** *****@tk2msftng p13.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********@ema il.msn.com> wrote in message
news:ux******** ******@TK2MSFTN GP09.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******@hotma il.com> wrote in message
news:OP******** *****@tk2msftng p13.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
1206
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 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...
3
1732
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 '/webreporting' Application. ----------------------------------------------------------- ---------------------
4
1579
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 developer has left the company and has left no documentation whatsoever. I've successfully managed to make a few updates to the website but I've recently hit a snag.
4
357
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 Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is...
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9584
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10583
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9160
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7622
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6854
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2995
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.