private void setResourcesPaths()
{
// set defaults in case no registry entries exist
_resourcesPath = utils.ResourceUtils.ResourcesPath;
#if DEBUG
if (System.IO.File.Exists(_resourcesPath + "conf\\secret-mdws.conf"))
{
ConfigFilePath = _resourcesPath + "conf\\secret-mdws.conf";
}
else
{
ConfigFilePath = _resourcesPath + "conf\\app.conf";
}
#else
ConfigFilePath = _resourcesPath + "conf\\app.conf";
#endif
}