问题描述
我正在尝试在 WinPE(最新版本 14393)上运行一个小型的 winform 应用程序(代码是 C#).调用 exe 启动应用程序,但 GUI 不显示.我通过dism 将.NET 注入PE,所以这不是问题.找到了一个帖子,其中 s.o.有同样的问题,但我不明白解决方案..NET GUI 未在 WinPE 中显示我不想运行 powershell,因为这会进一步增大 PE boot.wim 的大小.它应该保持尽可能小.有什么想法吗?
I'm trying to run a small winform app (code is C#) on WinPE (latest build 14393). Calling the exe starts the application, but the GUI doesn't show up.I injected .NET to PE via dism, so this is not the problem. Found a post where s.o. had the same problem, but I don't understand the solution. .NET GUI Not Displaying in WinPEI don't want to run powershell, because this would size up the PE boot.wim even more. It should be kept as small as possible.Any ideas?
推荐答案
浏览所有与 WinPE 相关的 MS 站点,我找到了成功启动我的应用程序的提示.它有效!
walking through all those MS sites related to WinPE, I found the hint to success in starting my app. It works!
依赖项:在安装 WinPE-NetFX 之前安装 WinPE-WMI.
这篇关于Winform GUI 未显示在 WinPE 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!