问题描述
每当端口更改/调用时,我必须开始向最终用户显示ui询问一些细节
它在Windows 10操作系统内部版本17763.1339中按预期工作,但在17763.1457版本中不工作
我的代码应该是
String executingAssemblyPath =
System.Reflection.Assembly.GetExecutingAssembly().Location;
string rootPath = executingAssemblyPath.Substring(0,executingAssemblyPath.LastIndexOf(@"\"));
var p = new Process();
p.StartInfo.FileName = rootPath + @"\LoginApp.exe";
p.StartInfo.WorkingDirectory = Path.GetDirectoryName(rootPath);
p.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
p.Start();
p.WaitForExit()
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)