System.Reflection.Assembly curAssembly = System.Reflection.Assembly.GetExecutingAssembly();
curAssembly.Location取当前目录.
转载于:https://www.cnblogs.com/djian/archive/2010/12/20/1912153.html
转载于:https://www.cnblogs.com/djian/archive/2010/12/20/1912153.html