-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native AOT compatibility #99
Comments
I made a few tests with expression tree in console application and got the same error. seems the problems only happens if the parameter of the function is a to help me investigate, could you please check if your code works when building using dotnet 7 ? |
Hi @leandromoh, changing the target framework to .NET 7 with no other changes results in the parsing working as expected. This looks like a regression in AOT compilation in .NET 8. Might want to open an issue in dotnet/runtime. |
Opened: dotnet/runtime#96160 |
Same problem here |
hello @Esperadoce, for now, RecordParse does not support Native AOT because of the mentioned dotnet issue. in the coversation looks like they dont plan to fix the issue, so probably we will only support AOT using source-generators, which is not in the plans for now. |
In a .NET 8 app with Native AOT enabled (
<PublishAot>true</PublishAot>
), I'm getting an exception when attempting to parse:where
MyType
is the tuple/class/record/struct type name.Version: 2.3.0
The text was updated successfully, but these errors were encountered: