Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Processing Resources failed with error: Duplicate Entry. #3281

Open
tstephansen opened this issue Nov 20, 2024 · 0 comments
Open

[BUG] Processing Resources failed with error: Duplicate Entry. #3281

tstephansen opened this issue Nov 20, 2024 · 0 comments

Comments

@tstephansen
Copy link
Contributor

Description

I am unable to build a net9.0 MAUI project that targets Windows with the Prism.DryIoc.Maui NuGet package installed. The MacCatalyst platform will build without issue. I haven't tried building for iOS or Android.

Screenshot 2024-11-20 121259

I've included a repro here but you can follow the repro steps just as easily to reproduce.

Steps to Reproduce

  1. Create a new MAUI project.
  2. Add Prism.DryIoc.Maui package to the project.
  3. Build the project.

Here are the actual steps to run in terminal.

mkdir PrismBug
cd PrismBug
dotnet new sln
dotnet new maui -o PrismBug
dotnet sln add PrismBug
cd PrismBug
dotnet add package Prism.DryIoc.Maui
dotnet build -f net9.0-windows10.0.19041.0

The output you will see is:

PrismBug net9.0-windows10.0.19041.0 failed with 2 error(s) (7.7s) → bin\Debug\net9.0-windows10.0.19041.0\win10-x64\PrismBug.dll
    WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry.
    WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI277: 0x80073b0f - Conflicting values for resource 'Files/Microsoft.Maui/Platform/Windows/Styles/WindowRootViewStyle.xbf'

Build failed with 2 error(s) in 7.9s

Platform with bug

.NET MAUI

Affected platforms

Windows

Did you find any workaround?

No response

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants