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 / IDE / May 2004

Tip: Looking for answers? Try searching our database.

disappearing .exe.config file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Corey Wirun - 18 May 2004 17:30 GMT
Hi All,

I've got a Winforms app 'test1.exe' (in C#), where the simple act of
compiling always deletes the test1.exe.config file in the output debug
directory.

Is there a reason why this happens?

Thanks!
Corey.
Amit - 18 May 2004 19:45 GMT
Instead of putting your settings in test1.exe.config, put them in a file
called App.Config in the root project folder and include it in the project.
When you compile, Visual Studio will automatically create the
test1.exe.config file for you
~amit

> Hi All,
>
[quoted text clipped - 6 lines]
> Thanks!
> Corey.
Dan - 30 May 2004 08:59 GMT
A lot of customers have told us about this problem in VS 2003. If you get
hold of a copy of VS 2005 (beta when it comes out) please consider playing
with this scenario in that. We have tried to only delete the
assemblyname.exe.config in the output folder if the project system itself
created it by copying an app.config from the project root folder (so
presumably it wasn't put there by yourself).

If that isn't what happens in your case -- let us know so we can fix it.

Thanks in advance
Dan [MS]

Signature

This posting is provided "AS IS" with no warranties, and confers no rights.

> Instead of putting your settings in test1.exe.config, put them in a file
> called App.Config in the root project folder and include it in the project.
[quoted text clipped - 12 lines]
> > Thanks!
> > Corey.

Rate this thread:







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.