Hello,
After nearly a decade of not coding, I thought I'd brush up on my WPF/C# "skills".
So, VS2022 in hand and Windows App SDK installed with templates. I duly created a WinUI app from the "Blank App, Packaged (WinUI 3 in Desktop) template.
It runs, yay.
Next, I wanted to add the Datagrid control from the Windows Community Toolkit. So I fire up Nuget and get this error when I try to add the control.
Install-Package : NU1202: Package Microsoft.Toolkit.Uwp 7.1.2 is not compatible with net6.0-windows10.0.17763 (.NETCoreApp,Version=v6.0). Package Microsoft.Toolkit.Uwp 7.1.2 supports: uap10.0.17763 (UAP,Version=v10.0.17763)
I also tried this in the console:
Install-Package Microsoft.Toolkit.Uwp -Version 7.1.2
Same problem :(
Project properties for Target OS is: 10.0.22000.0 Supported OS version is 10.0.17763.0
I can't for the life of me understand what's wrong, please help?
What I have tried:
Please see the description for information on what I tried. Perhaps I need to make this string longer so I can post a question. I wonder how long I should make it? I'd better make it longer than my patience, as the length of that == String.empty.