如何修复 Win UI C# 应用程序已退出,代码为 -1073740791 (0xc0000409)
我有两个问题,我正在尝试执行 WIN UI 教程 (https://learn.microsoft.com/en-us/windows/apps/winui/winui3/create-your-first-winui3-app)用于创建我的第一个 WINUI 3 应用程序。我按照所有步骤操作,但收到错误“应用程序已退出,代码为 -1073740791 (0xc0000409)”。我已将 WindowPackageType 作为 none 添加到 csproj 文件中,但仍然一无所获。
The other issue I am having is that the SDK is showing yellow triangles, how to go about correcting that?
任何帮助将不胜感激。
谢谢你,
比尔·O.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保您的 VS 未启动提升。
升级到 Windows App SDK 1.1 pre2。
您也可以添加这些属性以进行故障排除
Make sure your VS isn't started elevated.
Upgrade to Windows App SDK 1.1 pre2.
Optional you can add these properties as well for troubleshooting purposes