is runtime needed to be installed on android or ios device if running MAUI application on this device?

William Liu 266 Reputation points
2022-05-14T02:44:39.86+00:00

Is the answer is not, does it mean the MAUI application also contains the dotnet components for supporting running on device?

I`m worrying about the application size if each MAUI application contains the shared dotnet components.

thanks!
-William

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,861 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor
    2022-05-16T06:28:35.547+00:00

    Hello,​

    is runtime needed to be installed on android or ios device if running MAUI application on this device?

    No

    does it mean the MAUI application also contains the dotnet components for supporting running on device?

    Yes. .NET MAUI apps will be compiled into native app packages:

    Android apps built using .NET MAUI compile from C# into intermediate language (IL) which is then just-in-time (JIT) compiled to a native assembly when the app launches.

    iOS apps built using .NET MAUI are fully ahead-of-time (AOT) compiled from C# into native ARM assembly code.

    You can refer to this documentation for more details about How .NET MAUI works

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful