Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternate configs
Message
From
02/02/2017 10:01:44
 
 
To
02/02/2017 10:00:05
General information
Forum:
Visual Studio
Category:
Text editor
Miscellaneous
Thread ID:
01647323
Message ID:
01647336
Views:
28
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform