-
Notifications
You must be signed in to change notification settings - Fork 665
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
Microsoft-UI-Xaml V2.8 conflict with Microsoft.Toolkit.Uwp.UI.Controls V7.1.2 #7397
Comments
this often happens with version mismatch of dependencies. Toolkit is using 2.7, so the version needs to be increase in toolkit. Raise an issue there |
The problem is if Microsoft.Toolkit.Uwp.UI.Controls is referenced in the main project , everything is fine. |
One more question: if Toolkit is targeting 2.7, why 2.71 is fine, but 2.8.0 is not ? |
I also have the same issue. It's also fine on 2.7.2 just 2.8 having the issue. |
I suspect that @MagicAndre1981 is right, and the issue is that WCT is still pointing to 2.7.1. @michael-hawker, do you agree? |
I have no idea, I just remember that this error occurred in the past if version mismatches occurred for Xamarin.Forms or Microsoft.NETCore.UniversalWindowsPlatform |
I'm using Microsoft.NETCore.UniversalWindowsPlatform 6.2.14 on main project and class libraries. |
👋 After some investigation, I found that this issue is still present when the Community Toolkit is removed from the equation. It can be reproduced using only class libraries and the Microsoft.UI.Xaml nuget package: After additional testing, the issue will go away if either of these conditions are met:
Since this issue can be reproduced without the Toolkit, we're recommending a workaround for developers and handing this back to the WinUI team from here. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Just bumped in to this, as soon as i reference omg 4 hours to waste because of this EDIT: |
I can confirm you need Microsoft.UI.Xaml in a UWP class library if you use Microsoft.Toolkit.Uwp.UI.Controls. Thank for the pointer! I would have spent even more time than that if I didn't find your post! |
Describe the bug
1、After Update to V2.8, got the following error
PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry.
2、V2.7.1 works fine
Steps to reproduce the bug
Please compile the attachment project
Expected behavior
No response
Screenshots
No response
NuGet package version
Microsoft.UI.Xaml 2.8.0
Windows app type
Device form factor
Desktop
Windows version
Windows 10 (20H2): Build 19042
Additional context
App3.zip
The text was updated successfully, but these errors were encountered: