Skip to content

Commit dfb1847

Browse files
committed
Added note about AoT on mobile and consoles
1 parent 1fdede8 commit dfb1847

File tree

1 file changed

+3
-0
lines changed
  • articles/tutorials/building_2d_games/25_packaging_game

1 file changed

+3
-0
lines changed

articles/tutorials/building_2d_games/25_packaging_game/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,9 @@ However, AOT has limitations:
336336

337337
For MonoGame game, AOT can work well if you avoid these limitations.
338338

339+
> [!NOTE]
340+
> Native AoT is recommended for mobile platforms due to its performance benefits and smaller binary size, which are important for mobile devices with limited resources. Additionally, it is mandatory when targeting console platforms (Xbox, PlayStation, Switch) as these platforms typically do not support JIT compilation for security and performance reasons.
341+
339342
For more information on Native AOT, refer to the [Native AOT deployment overview](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/?tabs=windows%2Cnet8) documentation on Microsoft Learn.
340343

341344
### Trimming

0 commit comments

Comments
 (0)