//全路径
string fullpath = Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName;
//目录路径
string strAppDir = Path.GetDirectoryName(fullpath);
//全路径
string fullpath = Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName;
//目录路径
string strAppDir = Path.GetDirectoryName(fullpath);
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。