-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
MAUI failed to compile with AOT #81913
Comments
@jonathanpeppers Thoughts? |
@jsuarezruiz the error message in the screenshot has the same |
How do I generate <RunAOTCompilation>True</RunAOTCompilation>
<PublishTrimmed>True</PublishTrimmed> What should i change? |
Change to the following configuration, can be generated normally. The resulting <RunAOTCompilation>False</RunAOTCompilation>
<PublishTrimmed>False</PublishTrimmed> |
|
Hi guys, I'm getting the same error, any thoughts? But in my case, I'm getting error with a brand new Maui project. |
@danielancines I would file a new issue, everyone here is getting:
And it's not happening with new projects. |
@jonathanpeppers Using the command S.O: Windows 10 |
looks like #81271 |
Im my case, it happens when I add Microsoft.Graph (5.11.0) Visual Studio Community 17.6.1 Error Precompiling failed for C:\git\MyProject\MyProject\obj\Release\net7.0-android\android-arm64\linked\Microsoft.Graph.dll with exit code -1073740791.
The same error appears 4 times, for android-arm64, android-x86, android-x64 and android-arm |
should be fixed by #85952 |
use follow config:
it takes very long,long time; about three hours. finally compiler fail.
The text was updated successfully, but these errors were encountered: