-
-
Notifications
You must be signed in to change notification settings - Fork 538
Description
Blazorise Version
1.8
What Blazorise provider are you running on?
None
Link to minimal reproduction or a simple code snippet
< Check TValue="bool">Check me out</ Check>
< Switch TValue="bool">Remember me</ Switch>
Steps to reproduce & bug description
Errors are allowed after MAUI iOS release.
Unable to create a generic service for type 'Blazorise.Check`1[System.Boolean]' because 'System.Boolean' is a ValueType. Native code to support creating generic services might not be available with native AOT.
What is expected?
MAUI hybrid development running on iOS - confirmed to be version-independent.
What is actually happening?
Unable to create a generic service for type 'Blazorise.Check`1[System.Boolean]' because 'System.Boolean' is a ValueType. Native code to support creating generic services might not be available with native AOT.
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.VerifyOpenGenericAotCompatibility(Type serviceType, Type[] genericTypeArguments)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateOpenGeneric(ServiceDescriptor descriptor, ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain, Int32 slot, Boolean throwOnConstraintViolation)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateOpenGeneric(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
What browsers do you see the problem on?
No response
Any additional comments?
No response