Open jamescrosswell opened 2 days ago
It's still somewhat cryptic as we don't use the EnumConverterFactory anywhere directly, that I can tell.
While we don't call it directly in the code, it looks like we do when we compile. 🤔
A similar issue was reported there https://github.com/dotnet/runtime/issues/109177 and solved with this PR: https://github.com/dotnet/runtime/pull/109180
Then, the fix was released as part of .net9.0. That's the weirdest part. Since this error only popped up after the .net 9 update
Then, the fix was released as part of .net9.0.
Ah, there's actually a comment about a regression in net9.0:
Might need to add a sample app, as the analyzers won't help here.
When trying to publish the Sentry.Samples.Maui app to a physical device:
AOT compilation fails with a cryptic error. Adding the following properties gives us a bit more detail:
The error is then:
It's still somewhat cryptic as we don't use the
EnumConverterFactory
anywhere directly, that I can tell.Needs investigation.