Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App config file
Message
De
07/07/2003 14:22:23
 
 
À
07/07/2003 14:16:58
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00807569
Message ID:
00807577
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform