Path.GetDirectoryName(Assembly.GetCallingAssembly().GetModules()[0].FullyQualifiedName; 转载于:https://www.cnblogs.com/skyrickie/articles/1986573.html