Skip to content

[regression/8.0.0-preview.1.7762] .NET 8 RC1 cannot use Syncfusion controls - SfListView gives System.TypeLoadException #17265

@Zack-G-I-T

Description

@Zack-G-I-T

Description

When trying to use SfListView in MAUI .NET 8 you get the following exception and the app crashes instantly.

System.TypeLoadException: 'Could not resolve type with token 010001d8 from typeref (expected class 'Style' in assembly '')'

I have added a dummy project here
https://github.com/Zack-G-I-T/SfListView.Net8Bug

Steps to Reproduce

  1. Run repo with all exceptions on
  2. See exception

Link to public reproduction project repository

https://github.com/Zack-G-I-T/SfListView.Net8Bug

Version with bug

8.0.0-preview.7.8842

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.92

Affected platforms

Android

Affected platform versions

Android 13

Did you find any workaround?

No

Relevant log output

System.TypeLoadException: 'Could not resolve type with token 010001d8 from typeref (expected class 'Style' in assembly '')'

Metadata

Metadata

Assignees

Labels

externali/regressionThis issue described a confirmed regression on a currently supported versionpartner/androidIssues for the Android SDKplatform/androidt/bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions