Humanizer
Humanizer copied to clipboard
UWP project error PR175
I have a Xamarin.Forms solution ( Android, iOS and UWP ) that I have used Humanizer within for a very long time with no issues. Used NuGet Package Manager to update Humanizer from version 2.8.11 to 2.8.26 this morning and the UWP project fails to build with errors:
error PRI175 : 0x80073b0f - Processing Resources failed with error : Duplicate Entry. GENERATEPROJECTPRIFILE : error PRI277: 0xdef00532 - Conflicting values for resource
Rollback to version 2.8.11 and all is fine again... Retry update to 2.8.26 and we are failing again.
Can you please help with this issue so I can update?
Steve
It would help if you can post a full build log showing the errors.
I assume you mean diagnostic build when you say full build so I have attached build log as you requested.
I'm getting this on a UWP app also. Same rollback solution works (2.8.11 or 2.8.25).
For what it's worth, I have updated Humanizer from 2.8.11 to 2.8.25 with no issues and all works fine with all Xamarin platforms ( Android, iOS and UWP ). Something going on with the 2.8.26 NuGet package with UWP.
Same problem here
7>GENERATEPROJECTPRIFILE : error : PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry. 7>GENERATEPROJECTPRIFILE : error : PRI277: 0xdef00532 - Conflicting values for resource 'Humanizer.Properties.Resources/DateHumanize_MultipleHoursFromNow'
It looks like the upcoming EF Core in .NET 5 Tools package takes a dependency on humanizer 2.8.26, which means I can no longer share my utility code between projects using EF Core and projects using UWP unless I target the latest package directly in the EF Core projects
Is there any hope of this issue being resolved?
Any updates regarding this?
Can confirm this issue on my side too
Just checked again, and UWP is still not working with v2.8.26
Also seeing this build error on UWP
So can anybody give us some clue of when this will be fixed for UWP. Has been going on since June 2020...
Same problem here, solution was a rollback from 2.8.26 to 2.8.11.
Still a problem on the latest 2.9.9 version.
Repro solution DELETE8.zip
Given comment by @Orgbrat, it seems that commit https://github.com/Humanizr/Humanizer/commit/7f07276 broke the resources.
Note that AZ is multi-script locale, and it is possible that it is something related to that.
Someone should examine that package and see if there is a problem with resources in it.
Getting the same error. Downgraded to 2.8.25 and it works for me. Latest v2.8.1 doesnt work.
Given comment by @Orgbrat, it seems that commit 7f07276 broke the resources.
Note that AZ is multi-script locale, and it is possible that it is something related to that.
Someone should examine that package and see if there is a problem with resources in it.
@clairernovotny Hi Claire! Are we finally on to something about this error?
Out of frustration, I removed Humanizer NuGet and added the Humanizer.Core 2.11.10 NuGet instead. To my surprise, my app still appears to work as expected AND no more PRI175, PRI222 errors.
@myokeeh so long as you only need English ;)
Is there any update on this problem? Still, I have the build error.
Issue is still there on 2.14.1 unfortunately, but I think I found a workaround. I installed Humanizer.Core, and I individually installed the languages my app supported. With this approach, I haven't encountered the PRI error. I wonder why it fails when installing the main Humanizer package