For WinUI 3, the NuGet Package is
CommunityToolkit.WinUI.UI.Controls
or
CommunityToolkit.WinUI.UI.Controls.DataGrid
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am running VS Community 2022 (64-bit) - Version 17.4.4 on Windows 11 Pro 22H2. Trying to add Microsoft.Toolkit.Uwp.UI.Controls.DataGrid 7.1.3 to a WinUI 3 project. I get this output when adding through VS or using the dotnet command at a console prompt:
NU1202: Package Microsoft.Toolkit.Uwp.UI.Controls.DataGrid 7.1.3 is not compatible with net6.0-windows10.0.17763 (.NETCoreApp,Version=v6.0). Package Microsoft.Toolkit.Uwp.UI.Controls.DataGrid 7.1.3 supports: uap10.0.17763 (UAP,Version=v10.0.17763)
NU1202: Package Microsoft.Toolkit.Uwp.UI.Controls.DataGrid 7.1.3 is not compatible with net6.0-windows10.0.17763 (.NETCoreApp,Version=v6.0) / win10-arm64. Package Microsoft.Toolkit.Uwp.UI.Controls.DataGrid 7.1.3 supports: uap10.0.17763 (UAP,Version=v10.0.17763)
NU1202: Package Microsoft.Toolkit.Uwp.UI.Controls.DataGrid 7.1.3 is not compatible with net6.0-windows10.0.17763 (.NETCoreApp,Version=v6.0) / win10-x64. Package Microsoft.Toolkit.Uwp.UI.Controls.DataGrid 7.1.3 supports: uap10.0.17763 (UAP,Version=v10.0.17763)
NU1202: Package Microsoft.Toolkit.Uwp.UI.Controls.DataGrid 7.1.3 is not compatible with net6.0-windows10.0.17763 (.NETCoreApp,Version=v6.0) / win10-x86. Package Microsoft.Toolkit.Uwp.UI.Controls.DataGrid 7.1.3 supports: uap10.0.17763 (UAP,Version=v10.0.17763)
My project originally had 10.0.19041.0 as the targeted version, but I changed both targeted and min version to 10.0.17763.0. I've also manually installed .NET SDK 6.0.405 (x64) but that didn't make a difference.
Any thoughts?
Thanks.
For WinUI 3, the NuGet Package is
CommunityToolkit.WinUI.UI.Controls
or
CommunityToolkit.WinUI.UI.Controls.DataGrid