Migration from VS2019 to VS2022 - Win2D.uwp dependency issue
I have a Xamarin Forms solution that is working fine under VS2019. I try to migrate it to VS2022 but Nuget gives the following error:
Severity Code Description Project File Line Suppression State
Error NU1701 Package 'Win2D.uwp 1.20.0' was restored using 'UAP,Version=v10.0.18362, .NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. Client C:\Users\jrlaf\Documents\dev\nomad.2\Client\Client\Client.csproj 1
The main XF project is targeting .Net Standard 2.0.
I have tried forcing the install of Win2D.uwp 1.26.0 but the error persists.
Any idea?