static public System.IO.FileInfo GetAppFile(this System.Reflection.Assembly assembly, string filePath) { var dir = assembly.GetAppDirectory(); return(new System.IO.FileInfo(System.IO.Path.Combine(dir.FullName, filePath))); }