Skip to content
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

Uno project with Maui embedding using different versions of Microsoft.Maui.Controls and Microsoft.Maui.Controls.Compatibility than the xxx.MauiControls project #18259

Open
mobynet1 opened this issue Sep 19, 2024 · 0 comments
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@mobynet1
Copy link

mobynet1 commented Sep 19, 2024

Current behavior

OK... I have my dev environment put back together on a different machine and I simply created a new Uno project that included Maui control embedding. I had indicated in an earlier issue or discussion that I tried this several weeks ago and found the new solution with no modifications will not build. (I do have all of the NuGet issues resolved...). The main project will not build due to compatibility issues with the two Microsoft Maui packages mentioned in the title. Specifically, the issue is this:

NU1605	Warning As Error: Detected package downgrade: Microsoft.Maui.Controls from 8.0.82 to 8.0.71. Reference the package directly from the project to select a different version. 
 UnoApp1 -> UnoApp1.MauiControls -> Microsoft.Maui.Controls (>= 8.0.82) 
 UnoApp1 -> Microsoft.Maui.Controls (>= 8.0.71)	UnoApp1 (net8.0-android), UnoApp1 (net8.0-browserwasm), UnoApp1 (net8.0-desktop), UnoApp1 (net8.0-ios), UnoApp1 (net8.0-maccatalyst), UnoApp1 (net8.0-windows10.0.19041)

and

NU1605	Warning As Error: Detected package downgrade: Microsoft.Maui.Controls.Compatibility from 8.0.82 to 8.0.71. Reference the package directly from the project to select a different version. 
 UnoApp1 -> UnoApp1.MauiControls -> Microsoft.Maui.Controls.Compatibility (>= 8.0.82) 
 UnoApp1 -> Microsoft.Maui.Controls.Compatibility (>= 8.0.71)	UnoApp1 (net8.0-android), UnoApp1 (net8.0-browserwasm), UnoApp1 (net8.0-desktop), UnoApp1 (net8.0-ios), UnoApp1 (net8.0-maccatalyst), UnoApp1 (net8.0-windows10.0.19041)

When you expand this package in the NuGet Package Manager, I see this:

image

I would uninstall them and re-install them, but I cannot do so because doing anything with these two packages is "blocked by project"

image

Mind you, this is a brand new solution created in Visual Studio 2022, v17.11.4 (latest) without any modifications.

Also, the package System.Formats.Asn1, v8.0.0, has been marked as 'Vulnerable' and will not update to the correct version of 8.0.1. When I try to update the package in the Package Manager, it simply will not allow me to move it to the stable version.

The issues I have been reporting about new projects not building was precipitated by me trying to get Maui control embedding working. Because Codium AI had me do something weird several weeks ago regarding a different NuGet package issue totally hosed my environment up. Hence, moving to a new dev environment... But, now I am back to square one with not being able to build a project with Telerik Maui controls.

I know you guys are very responsive and I deeply appreciate your time, but I HAVE GOT to get this demo done and this issue is blocking me.

Expected behavior

Having it build would be great!

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

I wish there was one!

Works on UWP/WinUI

None

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

No response

Affected platforms

Windows (WinAppSDK)

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

I really need a working solution in the next day or so...

@mobynet1 mobynet1 added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

1 participant