I need to change my Webreference url in C# windows app.
My app.config file has applicationSettings
as
<applicationSettings>
<DataAggregator.Properties.Settings>
<setting name="DataAggregator_WebService_AccessDB" serializeAs="String">
<value>http://twks-126/Webservice/AccessDB.asmx</value>
</setting>
</DataAggregator.Properties.Settings>
</applicationSettings>
I need to change the value at runtime to new webservice.
When I try to get the configurationmanager.appsettings
I don't get the settings.
Am I doing something wrong?
Thanks.