UWP Microsoft.ui.xaml.2.1找不到API

发布于 2025-02-12 05:29:54 字数 1037 浏览 2 评论 0原文

我试图在安装新的Windows后运行我的一个应用程序之一,然后在Visual Studio中收到此消息:

严重性代码描述项目文件行抑制状态 错误DEP0700:应用程序的注册失败。 [0x80073CF3] Windows无法安装软件包464 | AppPublisher |。| AppName | _1.7.0.0.0.x86__yejd587sfa94t,因为此软件包取决于找不到的框架。提供框架“ Microsoft.ui.xaml.2.1”,由“ CN = Microsoft Corporation,O = Microsoft Corporation,L = Redmond,S = Washington,C = US”,具有中性或X86处理器体系结构和最低版本2.11904.5004.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.04.044.04.04.04.04.04.04.04.04.04.04.04.04404.al, ,以及要安装的软件包。当前安装的名称为“ Microsoft.ui.xaml.2.1”的框架为:{} | AppName |

这是一个屏幕截图(应用程序名称和发布者被隐藏):

“这就是它显示的内容”

任何人是否知道解决方案 这?

另外,在绝望的情况下,如果我在Microsoft商店中发布此应用程序的娱乐性,它会正确安装吗?

编辑:似乎每次更改应用程序的版本时,都不会与更改

编辑2同步的软件包:有什么方法可以从Nuget下载此软件包或将其还原为应用程序包?

编辑3:这个应用程序始终是一个大问题,从不表现出应有的表现。这不是我第一次遇到类似问题

I was trying to run one of my apps after a fresh windows installation, and then I get this message in Visual Studio:

Severity Code Description Project File Line Suppression State
Error DEP0700: Registration of the app failed. [0x80073CF3] Windows cannot install package 464|APPPUBLISHER|.|APPNAME|_1.7.0.0_x86__yejd587sfa94t because this package depends on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.1" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x86 processor architecture and minimum version 2.11904.5004.0, along with this package to install. The frameworks with name "Microsoft.UI.Xaml.2.1" currently installed are: {} |APPNAME|

And here is a screenshot (The app name and publisher are hidden):

This is what it shows up

Does anybody know a solution for this?

Also, in a desperate case, if I publish a recreation of this app in the Microsoft Store, will it install properly?

Edit: it seems like every time I change the version of the app, the package that won't install synchronizes with the changes

Edit 2: Is there any way to download this package from NuGet or restore it to the app package?

Edit 3: This app was always a big problem and never behaved as it should. This isn't the first time I'm having similar problems

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

忆伤 2025-02-19 05:29:54

您是否尝试过右键单击引用,选择“管理Nuget软件包”并搜索该软件包?

Have you tried to right click on references, Select Manage NuGet Packages and searched for that package?

enter image description here

看轻我的陪伴 2025-02-19 05:29:54

我找到了解决此问题的解决方案,实际上是唯一的解决方案。由于此应用程序存在API问题的历史记录,因此我决定制作一个具有完全相同属性的新应用程序,但具有一些新鲜的Nuget软件包。这解决了问题并大大提高了性能。现在,我不必担心它每次重新安装Windows时都无法加载它,因为它是唯一引起问题的应用程序。

这个应用程序要求的软件包是一个我无法摆脱的缓存,并且被卡在文件中是对甚至不存在的事物的依赖。

I found a solution to this problem and, actually, the only solution. Since this app had a history of API problems, I decided to make a new one with the exact same properties, but with some fresh NuGet packages. This solved the issue and improved the performance a lot. Now, I don't have to worry about it failing to load every time I reinstall Windows since it was the only app that caused problems.

The package that this app was asking for was a cache that I couldn't get rid of, and was stuck in the files as a dependency on something that doesn't even exist.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文