-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
Milestone
Description
Description
i am using this library to generate strings with templates. it can work fine using JsonDocument as the model under native aot with .net 7. however, somehow when i upgraded my dotnet version to 8.0 it breaks with System.ArgumentException: The handle is invalid.. i know that this library does not support native aot directly but im sure this is a regression bug in .net
Reproduction Steps
- first, compile with
dotnet publish -c Releaseand run the generated binary. - change the
TargetFrameworktonet7.0to make it work.
Expected behavior
works on net 8.0
Actual behavior
crashed under native aot
Regression?
net 7.0
Known Workarounds
No response
Configuration
No response
Other information
No response