Skip to content

DataGrid not working on .Net6 #4531

@fatscally

Description

@fatscally

Describe the bug

I tried to install the DataGrid on my .Net 6.0 app and got the following error. I leave it here in the hands of the right people :)

Severity	Code	Description	Project	File	Line	Suppression State
Error	NU1202	
Package CommunityToolkit.WinUI.UI.Controls.DataGrid 7.1.2 is not compatible with net6.0-windows10.0.17763 (.NETCoreApp,Version=v6.0). 
Package CommunityToolkit.WinUI.UI.Controls.DataGrid 7.1.2 supports: net5.0-windows10.0.18362 (.NETCoreApp,Version=v5.0)	FSM	C:\Users\r\Dropbox\F22\F22\FSM.csproj

Regression

No response

Reproducible in sample app?

  • This bug can be reproduced in the sample app.

Steps to reproduce

Create a .Net6.0 app.

Install the CommunityToolkit.WinUI.UI.Controls.DataGrid 7.1.2

The install will fail because it is not compatible with .Net 6.0

Expected behavior

I was thinking it would work seamlessly with .Net 6.0

Screenshots

No response

Windows Build Number

  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 11 21H2 (Build 22000)
  • Other (specify)

Other Windows Build number

No response

App minimum and target SDK version

  • Windows 10, version 1809 (Build 17763)
  • Windows 10, version 1903 (Build 18362)
  • Windows 10, version 1909 (Build 18363)
  • Windows 10, version 2004 (Build 19041)
  • Other (specify)

Other SDK version

No response

Visual Studio Version

2022

Visual Studio Build Number

17.1.4

Device form factor

No response

Nuget packages

CommunityToolkit.WinUI.UI.Controls.DataGrid 7.1.2

Additional context

No response

Help us help you

No.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions