-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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.Toolkit.Uwp.UI.Controls V7.1.2 conflict with Microsoft-UI-Xaml V2.8 #4612
Comments
Hello NGame1, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
Can you share the reproduce of the issue. I have trouble opening the reproduce shared on Xaml UI GitHub |
To be honest, No. 😐 But still, I have this issue with my main project. If you want I can provide you with a full build log. |
@NGame1 Any additional information (like the build logs) is helpful, but the most helpful thing is a minimal repro. Minimal repros allow us to diagnose the issue much faster and gives us assurance that it really is a bug with the Toolkit or Microsoft.UI.Xaml. |
@Arlodotexe Nice to meet you here. |
From MagicAndre1981 in the linked issue:
@LalithaNadimpalli Maybe this is part of the problem, we could try using this to repro the issue on our end. |
It's just a simple new project with two nuget packages. |
what happens if you add Microsoft-UI-Xaml 2.8 to the class lib? |
if it referenced it should appear as a dependency. Maybe nuspec generation bug ? Does adding it fixes it? If not also try to add |
Yes, I added both NuGets to the Main project and class libraries, and the problem was fixed. |
@MagicAndre1981 I checked the NuGet package also The Microsoft-UI-Xaml >= 2.7.0 dependency didn't mention. |
this "PackageReference Include" is buggy when detecting dependencies so I install them on my own like in packages.config days to have full control over dependencies. Nice to hear that you got it working |
It works for me too, thanks |
Maybe WinUI 2.8.0 should responsible for the bug, because UI.Controls 7.1.2 is happy to work with WinUI 2.7.1。 |
but you should do it to prevent such issues. I had similar issues in the past and now install the dependencies on my own to fully control them |
The Controls package is a meta package, if you look at the individual packages within them, then you'll see WinUI listed: |
👋 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'll hand this back to the WinUI team here. We'll be able to update to WinUI 2.8 in the near future. For now, please install the specific version of |
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
Regression
No response
Reproducible in sample app?
Steps to reproduce
Expected behavior
Should compile without errors 😁
Screenshots
No response
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview Version 17.3.0 Preview 4.0
Device form factor
Desktop
Nuget packages
Microsoft.Toolkit.Uwp.UI.Controls V7.1.2
Microsoft-UI-Xaml V2.8
Additional context
Same issue on Microsft Xaml UI Github
Help us help you
No.
The text was updated successfully, but these errors were encountered: