In Visual Studio 2022 I developped a Xamarin.Forms solution that compiles and runs on Android and UWP (Windows). I used Microsoft's Upgrade Assistant to upgrade to .Net 8.0 and .Net MAUI. This results in 4 errors for the UWP project (German version of VS):
Fehler NU1202 Das Paket System.Security.Principal.Windows 5.0.0 ist nicht mit net8.0-windows10.0.19041 (.NETCoreApp,Version=v8.0)/win10-x64 kompatibel. Paket System.Security.Principal.Windows 5.0.0 unterstützt Folgendes: uap10.0.16299 (UAP,Version=v10.0.16299)
That means: packet System.Security.Principal.Windows 5.0.0
is not compatible with net8.0-windows10.0.19041 (.NETCoreApp,Version=v8.0)
.
Packet System.Security.Principal.Windows 5.0.0
supports uap10.0.16299 (UAP,Version=v10.0.16299)
.
Any ideas what to do?