Conflicting values for resource 'Files/Microsoft.Maui.Controls/Platform/Windows/TabbedPage/TabbedPageStyle.xbf'
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 296
Description
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/-Conflicting-values-for-resource-Files/11073028)._
---
I ha-ve a maui blazor project and project buildingworks well. After I a package called-"JsPermissionHandler", my project does not go through the build process and the error message:
PRI277: 0x80073b0f - Conflicting values for resource 'Files/Microsoft.Maui.Controls/Platform/Windows/TabbedPage/TabbedPageStyle.xbf'
PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry.
if I remove "JsPermissionHandler", my project go through the build again. The package "JsPermissionHandler"
My project targects the latest Net10


---
### Original Comments
#### Feedback Bot on 4/13/2026, 09:12 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
#### Louisse Marinelle Pureza (CSI INTERFUSION INC) [MSFT] on 4/14/2026, 09:28 AM:
Thanks for reaching out! I tried to reproduce your issue on a default Maui Blazor App, and it seems to be working fine on our side, for us to investigate the issue further could you please provide the following information?
-
Please collect the Build logs logs?
- Open “Environment Variables for your account” on your windows, and add click “New”
- Add “MSBUILDDEBUGENGINE” as Variable Name and “1” as the value
- Click “New” again and add “MSBUILDDEBUGPATH” and add any path to directory where you want to store the binlogs as the value.
- Restart your VS and reproduce your issue.
- Zip your file and attach it here.
-
As we cannot reproduce it on our side, could you please privately share a small repro project?
Looking forward to hearing from you again!
#### Qun Shen on 4/14/2026, 08:48 PM:
see detailed build output.
Build_output.txt
#### Qun Shen on 4/16/2026, 10:06 AM:
see attached build log
.MSBuild_Logs.zip
as for project respo, It is too big to send
#### Qun Shen on 4/16/2026, 09:14 PM:
I have done some clean up to reduce the size! see attached zip file that is the solotion. the zip file contains two project:one is maui blazor project anf the other is razor class lib project. the razor class lib is used both a blazor web app and maui blazor project. It appears that any maui blazor project thay references the razor class lib project,produce the same error. the razor class lib project works well with blazor web app!
BIWebRazorLib.zip
#### Qun Shen on 4/16/2026, 09:31 PM:
If you create a new maui blazor and reference my razor class lib project , The maui blazor app can go through the build and run well. but if you add package (JsPermissionHandler) reference, the maui blazoe project can not go through the build
#### Qun Shen on 4/23/2026, 10:33 AM:
You create a default maui blazor app (NOT maui blazor web app), then reference JsPermissionHandler package and then rerfrence the razor class library project I provided(BIWebRazorLib), the same error occurs. and if you remove eithor refrerence of JsPermissionHandler or BIWebRazorLib, project builds good.
#### Louisse Marinelle Pureza (CSI INTERFUSION INC) [MSFT] on 4/16/2026, 09:19 AM:
Hi Qun Shen, thanks for providing the build output! Could you also please provide the information I’ve mentioned above? Providing this information will definitely be a great help in investigating your issue. Looking forward to hearing from you again!
#### Louisse Marinelle Pureza (CSI INTERFUSION INC) [MSFT] on 4/16/2026, 04:35 PM:
Hi Qun Shen, thank you for providing the build logs, just to confirm does this issue only reproduce on your special project? or it can be reproduce in a default MAUI Blazor App? If it only reproduces on your special project, since it seems like the file is too large to attach here, you can upload the project to a shared location like OneDrive, Github, Google drive, then privately share the link to us. Thank you!
#### Louisse Marinelle Pureza (CSI INTERFUSION INC) [MSFT] on 4/20/2026, 04:04 PM:
Hi Qun Shen, upon investigating. Could you confirm whether using a default MAUI Blazor App only and adding the JsPermissionHandler as a reference would reproduce this issue? Looking forward to hearing from you again! Thank you!
Contributor guide
Research direction
Start by reproducing the failure in a default MAUI Blazor app with both the JsPermissionHandler package and the BIWebRazorLib Razor class library referenced. Review the provided build output and MSBuild logs for the duplicate TabbedPageStyle.xbf resource; done means the combined project builds successfully without PRI277 or PRI175.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100