I have a C# dll project which calls a web service. I need to be able to vary the URL used to call the web service *after* building the application (so I can deploy it with different deployed instances referring to different URLs). When calling a web service from web or .exe apps, that's easy - just make sure the URL behaviour is set to dynamic and then change the URL in the app.config or web.config as required. However that doesn't seem to work when the app is a class library dll (I can change the URL in the VS Properties window or in the .dll.config, but it has no effect - the value is clearly being ignored by the app).
After some digging, I found the place I need to change the web service URL buried in an XML file called settings.settings. Unfortunately, AFAICS this file only seems to be accessible with the source code, which means I can't access it to change settings after building the project. Anyone know of a way out of this, or a way to make URL behaviour dynamically configurable? =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com