Is there a simple way to hard code settings and apply them only if the application referencing a class library doesn’t have service model settings in its app.config?
The client code calling code from the class library would be something like this:
ProgramUpdater programUpdater = new ProgramUpdater(@"path\\to\\my\\program");
if(programUpdater.HasUpdate())
{
programUpdater.Update();
}
I actually think I found some suitable answers in a question when I did some additional searching on Google.
Funny it didn’t come up in my initial searches.
Here it is for future reference:
How to hard-code a default WCF endpoint for a service?