取当前目录 System.Reflection.Assembly curAssembly = System.Reflection.Assembly.GetExecutingAssembly(); curAssembly.Location取当前目录.