static SwumConfiguration()
{
string assemblyPath;
Assembly currentAssembly = Assembly.GetExecutingAssembly();
if(!string.IsNullOrWhiteSpace(currentAssembly.CodeBase)) {
assemblyPath = new Uri(currentAssembly.CodeBase).LocalPath;
} else {
assemblyPath = currentAssembly.Location;
}
config = ConfigurationManager.OpenExeConfiguration(assemblyPath);
}