获取应用程序所在的物理路径

AppDomain.CurrentDomain.BaseDirectory

原文地址:https://www.cnblogs.com/xianglf/p/1636241.html