Skip to content

Building/Debugging Uno.UI : Possible in ARM64 dev environment? #19762

Closed Answered by jeromelaban
baskren asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the report.

The error you're seeing is related to a known .NET issue with the AOT compiler. The only way around it is to disable AOT for specific assemblies (the one that fail), with this: dotnet/runtime#109966 (comment), and this.

So you'd need:

<PropertyGroup>
    <_IsDedupEnabled>false</_IsDedupEnabled>
</PropertyGroup>

and

<MtouchInterpreter>-all,Microsoft.Maui.Controls.HotReload.Forms</MtouchInterpreter>

in the SamplesApp.netcodemobile project.

We'll add those by default in an upcoming PR to avoid this.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by baskren
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants