-
Notifications
You must be signed in to change notification settings - Fork 788
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
Hello World doesn't work with reflection disabled in NAOT #14355
Comments
It's a problem of printf family specifically. Console.WriteLine should work. I belive there was a flag of some sort planned to F# 7 to generate reflection free code but I'm not sure I'm correct here. |
A good thing to track in our aot bucket |
This is currently working on my machine:
|
PublishAot doesn't do anything on .NET 6 - it was introduced in .NET 7. Note |
This would be fixed by:
|
Repro steps
Program.fs:
Expected behavior
Prints hello world
Actual behavior
The text was updated successfully, but these errors were encountered: