一种方法:
System.AppDomain.CurrentDomain.baseDirectory
另一种方法是:
System.IO.Path.GetDirectoryName(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName)

一种方法:
System.AppDomain.CurrentDomain.baseDirectory
另一种方法是:
System.IO.Path.GetDirectoryName(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName)