获取基目录,它由程序集冲突解决程序用来探测程序集 private static string baseDirName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "log");