Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / July 2003

Tip: Looking for answers? Try searching our database.

VS.NET 2003 deletes app.config files?!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Seth Porter - 31 Jul 2003 20:33 GMT
I recently moved a large project (Managed C++ and C#)
using extensive app.exe.config trace switches for
debugging from VS.NET 2002 to VS.NET 2003. Now whenever I
build (or even the implicit build caused by Debug /
Start) to deletes the app.exe.config file!

This would make debugging unusable, since all my tracing
is conditionalized. I've been able to workaround by using
a Post-Build action to copy app.exe.config.real to
app.exe.config, but this is awkward, fragile, and
potentially confusing.

Is this just me, a known problem, or a "feature"? Any
help is greatly appreciated.

Seth

----
Seth Porter
Software Engineer
EyeSee360, Inc.
<symmetry@eyesee360.com
Jason Wilden - 31 Jul 2003 20:49 GMT
Seth,

This, I believe,  has come up in a number of postings and is a new feature
of VS.NET 2003.

AFAIK you now need to add the app.config file to the solution source-tree as
a project file, it will then be automatically copied into the build output
directory each time you compile the application.  Any existing appconfig
file found in the output folder is overwritten.

You should also be aware that even if you don't have an app.config file in
the solution, any existing app.config file found in the build output
directories will always still be deleted.

Hope this helps
Jason.

> I recently moved a large project (Managed C++ and C#)
> using extensive app.exe.config trace switches for
[quoted text clipped - 18 lines]
> EyeSee360, Inc.
> <symmetry@eyesee360.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.