Compatibility with .NET 10 #398
tylerwilson
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to run my MAUI app which uses C# Markup with the latest .NET RC 1, and I get a crash on startup. Looks like so:
System.TypeInitializationException: The type initializer for 'CommunityToolkit.Maui.Markup.DefaultBindableProperties' threw an exception. ---> System.TypeLoadException: Could not resolve type with token 010000a4 from typeref (expected class 'Microsoft.Maui.Controls.ClickGestureRecognizer' in assembly 'Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') --- End of inner exception stack trace --- at CommunityToolkit.Maui.Markup.TypedBindingExtensions.BindCommand[Button,MainViewModel,Object,Object](Button bindable, Expression1 getter, Action2 setter, MainViewModel source, BindingMode commandBindingMode, Expression1 parameterGetter, Action2 parameterSetter, BindingMode parameterBindingMode, Object parameterSource) in /_/src/CommunityToolkit.Maui.Markup/TypedBindingExtensions.cs:line 43 at CommunityToolkit.Maui.Markup.TypedBindingExtensions.BindCommand[Button,MainViewModel](Button bindable, Expression1 getter, Action2 setter, BindingMode mode, MainViewModel source) in /_/src/CommunityToolkit.Maui.Markup/TypedBindingExtensions.cs:line 20I wonder if this is a known issue, and/or when we might expect an updated version of Maui.Markup that is compatible with .NET 10. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions