private static string GetBinFolder() { var path = System.Reflection.Assembly.GetExecutingAssembly().Location; return Path.GetDirectoryName(path); }