Home > OS >  Type universe cannot resolve assembly: Uno.UI, Version=255.255.255.255
Type universe cannot resolve assembly: Uno.UI, Version=255.255.255.255

Time:11-22

After upgrading Uno.UI to 3.11.6 I'm getting the following error when compiling my project:

Type universe cannot resolve assembly: Uno.UI, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null

A quick search on Discord comes up with multiple questions regarding this, with the responses suggesting to bump the Minimal version of the Windows SDK used. I did that, and have configured both the target and min SDK to the Windows 11 - build 22000 SDK, but I still get this issue.

Apparently, it happens right after I update my Community Toolkit NuGet to 7.0.0

CodePudding user response:

This problem often occurs when the library does not support your target platform.

Make sure you are using Community Toolkit packages without the Uno. prefix for the Uwp project.

Uno.Microsoft.Toolkit packages do not support UWP projects since version 7.0.0.

Here's detailed official documentation about it.

  • Related