【问题标题】:Is .NET 7 native AOT supported macOS?.NET 7 本机 AOT 是否支持 macOS?
【发布时间】:2023-01-23 12:47:48
【问题描述】:

没有关于 macOS 平台的信息。 AOT是否支持,或者有什么计划?

【问题讨论】:

    标签: c# .net-7.0 ahead-of-time-compile native-aot


    【解决方案1】:

    在撰写本文时,根据 MS 文档,唯一受支持的目标是 Windows 和 Linux - 请参阅https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/#platformarchitecture-restrictions

    后代的屏幕截图:

    这并没有回答你关于是否有计划在 MacOS 上支持它的问题——也许其他人有这个信息。

    【讨论】:

      【解决方案2】:

      目前官方docs state Native AOT 仅支持 Windows 和 Linux for .NET 7:

      下表显示了面向 .NET 7 时支持的编译目标。

      Platform Supported architecture
      Windows x64, Arm64
      Linux x64, Arm64

      但基于 github 存储库中的问题/讨论(例如thisthis,尤其是this),未来版本的工作正在进行中,以支持 macOS 上的原生 AOT。

      【讨论】:

        【解决方案3】:

        mac平台是on the way

        【讨论】:

          猜你喜欢
          • 2019-02-20
          • 1970-01-01
          • 2017-04-30
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2012-09-16
          • 2017-08-24
          • 2012-01-08
          相关资源
          最近更新 更多