Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternate configs
Message
De
02/02/2017 10:01:44
 
 
Information générale
Forum:
Visual Studio
Catégorie:
Éditeur de texte
Divers
Thread ID:
01647323
Message ID:
01647336
Vues:
29
>>I use app.config to hold connection data.
>>Switching servers during development is tedious.
>>Since I can't include comments in the app.config, I have to type all the credentials each time I switch.
>>I'd like some way of commenting/uncommenting credentials, dependng on the server or db I want to use.
>>Any ideas?
>
>As far as I know, app.config is an xml file. Therefore, why you cant' use standard xml file comments? E.g.
>
>    <!--  this entry line is commented <SqlServerName></SqlServerName>   -->
>
Yes. Borislav pointed me to that.
I was using "//" - VS comments
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform