Humanizer icon indicating copy to clipboard operation
Humanizer copied to clipboard

UWP project error PR175

Open Orgbrat opened this issue 4 years ago • 21 comments

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

Orgbrat avatar Jun 05 '20 13:06 Orgbrat

It would help if you can post a full build log showing the errors.

clairernovotny avatar Jun 05 '20 13:06 clairernovotny

Output-Build.txt

I assume you mean diagnostic build when you say full build so I have attached build log as you requested.

Orgbrat avatar Jun 05 '20 13:06 Orgbrat

I'm getting this on a UWP app also. Same rollback solution works (2.8.11 or 2.8.25).

myokeeh avatar Jun 10 '20 06:06 myokeeh

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.

Orgbrat avatar Jun 10 '20 14:06 Orgbrat

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'

freever avatar Jun 25 '20 14:06 freever

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

image

Is there any hope of this issue being resolved?

freever avatar Aug 29 '20 08:08 freever

Any updates regarding this?

myokeeh avatar Sep 18 '20 08:09 myokeeh

Can confirm this issue on my side too

MartinZikmund avatar Oct 11 '20 19:10 MartinZikmund

Just checked again, and UWP is still not working with v2.8.26

freever avatar Nov 23 '20 15:11 freever

Also seeing this build error on UWP

JKennedy24 avatar Nov 24 '20 10:11 JKennedy24

So can anybody give us some clue of when this will be fixed for UWP. Has been going on since June 2020...

Orgbrat avatar Nov 24 '20 19:11 Orgbrat

Same problem here, solution was a rollback from 2.8.26 to 2.8.11.

natanaelmgomes avatar Apr 16 '21 15:04 natanaelmgomes

Still a problem on the latest 2.9.9 version.

myokeeh avatar Apr 29 '21 04:04 myokeeh

Repro solution DELETE8.zip

myokeeh avatar May 11 '21 22:05 myokeeh

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.

srdjanjovcic avatar May 19 '21 04:05 srdjanjovcic

Getting the same error. Downgraded to 2.8.25 and it works for me. Latest v2.8.1 doesnt work.

ataparia avatar May 24 '21 23:05 ataparia

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?

myokeeh avatar Jul 20 '21 18:07 myokeeh

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 avatar Sep 20 '21 23:09 myokeeh

@myokeeh so long as you only need English ;)

InquisitorJax avatar Oct 09 '21 13:10 InquisitorJax

Is there any update on this problem? Still, I have the build error.

OmidID avatar Apr 25 '22 15:04 OmidID

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

dpaulino avatar Jun 25 '22 05:06 dpaulino