I'm trying to use Windows UI library in my WPF app, and whenever I install Microsoft.UI.Xaml
I get the following error.
Microsoft.UI.Xaml nuget package requires TargetPlatformMinVersion >= 10.0.15063.0 (current project is -1)
How to resolve this issue?
My windows SDK version is the latest version downloaded from here.
My OS version is 20H2 and the build number is 19042.685
I tried changing the targeted framework from .NET Core 3, 3.1, and .NET 5.
[If you think the title of this question is not appropriate, feel free to suggest an edit.]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…