>>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.