dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.99k stars 1.72k forks source link

[windows] Processing Resources failed with error: Duplicate Entry #22342

Open maonaoda opened 4 months ago

maonaoda commented 4 months ago

Description

2>GENERATEPROJECTPRIFILE : error : PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry.
2>GENERATEPROJECTPRIFILE : error : PRI277: 0x80073b0f - Conflicting values for resource 'Files/Microsoft.Maui.Controls/Platform/Windows/TabbedPage/TabbedPageStyle.xbf'

Steps to Reproduce

  1. clone MAUI repository
  2. execute this under MAUI repository
    dotnet tool restore
    dotnet cake --target=VS --workloads=global --windows

    3.create new maui project use VS2022 17.9.6 4.add Controls.Core.csproj and Core.csproj to the new project

    <ItemGroup>
      <ProjectReference Include="D:\practice\maui2\src\Controls\src\Core\Controls.Core.csproj" />
      <ProjectReference Include="D:\practice\maui2\src\Core\src\Core.csproj" />
    </ItemGroup>
  3. debug the windows and got the error.

Is that some thing wrong with me ?

Link to public reproduction project repository

No response

Version with bug

8.0.21 SR4.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

github-actions[bot] commented 4 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.