Processing Resources failed with error: Duplicate Entry #25434
Labels
area-controls-entry
Entry
platform/windows 🪟
s/triaged
Issue has been reviewed
t/bug
Something isn't working
Description
Hello!
We are going through the process of upgrading our current project from .NET 8 to .NET 9 GA for MAUI.
After going through the process of changing the targets and upgrading NUGET packages, there were some issues that made us target the latest nightly build to allow us to bypass some of the fixed issues (currently targeting nightly build: 9.0.10-ci.net9.24521.2).
This appears to resolve all the build issues that we were previously experiencing, but a new one has since appeared:
Any help with how this could be resolved would be greatly apricated.
Also these are the additional packages that are used with the project (if this provides any insight)
Steps to Reproduce
<add key="nuget.org - nightly" value="https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-nightly/nuget/v3/index.json" protocolVersion="3" />
<MauiVersion>9.0.10-ci.net9.24521.2</MauiVersion>
Link to public reproduction project repository
No response
Version with bug
9.0.0-rc.2.24503.2
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
8.0.92 SR9.2
Affected platforms
Windows, I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
No workaround has been found so far.
Relevant log output
6>SiteCompass -> C:\Users\developer\Source\repos\SiteCompassMaui\SiteCompass\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\SiteCompass.dll
6>WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry.
6>WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI277: 0x80073b0f - Conflicting values for resource 'Files/Microsoft.Maui/Platform/Windows/Styles/WindowRootViewStyle.xbf'
6>Done building project "SiteCompass.csproj" -- FAILED.
========== Build: 5 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 12:33 PM and took 26.767 seconds ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
========== Deploy completed at 12:33 PM and took 26.767 seconds ==========
The text was updated successfully, but these errors were encountered: