wpf 获得exe的运行路径

System.Reflection.Assembly.GetEntryAssembly().Location
原文地址:https://www.cnblogs.com/bruce1992/p/14755891.html