简体   繁体   English

编译 WinUI 桌面应用程序时的 PRI 错误

[英]PRI errors when compiling WinUI Desktop apps

Below PRI errors occurred when i try to build the WinUI application and my application has library project A with custom control libraries which referred as NuGet in library projects.当我尝试构建 WinUI 应用程序并且我的应用程序具有带有自定义控件库的库项目 A 时发生以下 PRI 错误,这些库项目在库项目中称为 NuGet。

Library project A -> Referred as Nuget B and Nuget C. When i try to build the app with this nuget PRI errors occurred.库项目 A -> 称为 Nuget B 和 Nuget C。当我尝试使用此 nuget PRI 构建应用程序时发生错误。

Currently this can be resolved by repacking Nuget once again and resolved.目前,这可以通过再次重新打包 Nuget 并解决来解决。

Can you please tell why these errors are occurred and how to resolve?你能告诉为什么会发生这些错误以及如何解决吗? this?这个?

2>GENERATEPROJECTPRIFILE : error : PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry. 2>GENERATEPROJECTPRIFILE : error : PRI222: 0x80073b0f - Unspecified error occurred

我遇到了同样的错误,当我将所有 nuget 更新到最新版本时,应用程序开始正确构建。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM