You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the project name contains spaces, aot publishing cannot run, prompting "Error System detected an overrun of a stack-based buffer in this application"
#14146
When the project name contains spaces, aot publishing cannot run, prompting "Error System detected an overrun of a stack-based buffer in this application"
To Reproduce
Steps to reproduce the behavior:
Create an avalonia mvvm project
Project name contains spaces, such as "Avalonia Application"
Do not write any code, publish directly aot
When running the program in the publish folder, the above error message appears.
Environment
OS: Windows 10
Avalonia-Version: 11.0.6
Additional context
Following the above steps, if the project name does not contain spaces, such as "AvaloniaApplication", then the program can run normally after aot publised, so I suspect that the space is causing the problem.
The text was updated successfully, but these errors were encountered:
Does the same work for a console App with white spaces? Can you test it?
I just tested the console App. Regardless of whether the project name has spaces or not, it can be published aot and run normally.
Another piece of information: I right-clicked the project name in VS and deleted the spaces in it. After the aot published, it ran normally, so I guess this is a bug.
Describe the bug
When the project name contains spaces, aot publishing cannot run, prompting "Error System detected an overrun of a stack-based buffer in this application"
To Reproduce
Steps to reproduce the behavior:
Environment
Additional context
Following the above steps, if the project name does not contain spaces, such as "AvaloniaApplication", then the program can run normally after aot publised, so I suspect that the space is causing the problem.
The text was updated successfully, but these errors were encountered: