Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App config file
Message
From
07/07/2003 14:22:23
 
 
To
07/07/2003 14:16:58
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00807569
Message ID:
00807577
Views:
18
This message has been marked as the solution to the initial question of the thread.
Hi Claudio,

Don't know what we might be missing, but I do know a workaround ... make the config file ReadOnly in WindowsExplorer ... then it won't get wiped out every time. I'm sure there's probably a setting somewhere that needs tweaking to avoid this problem, but in the meantime, this will work.

~~Bonnie

>Hi all.
>
>I'm facing a weird behavior: in a Windows App, I have a MyApp.exe.config file. If I run the app through VS.net (2003), the config file is not being read properly. Because of that, I have to run the app by double-clicking the EXE within the Debug folder (and doing that I obviously can't debug my app...).
>
>If I copy the app config file to my Bin folder, it gets erased as soon as VS compiles the app before running it.
>
>Does anyone what I might be missing here?
>
>TIA
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform