WPF取得路径

static readonly string configFilePath =System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, @"GTADesktopWPF.exe.config");

原文地址:https://www.cnblogs.com/huangyuanfengxue/p/WPFgetPath.html