.NET Core 3.0 Publish for ARM64

前端 未结 2 1590
隐瞒了意图╮
隐瞒了意图╮ 2021-01-06 03:50

Does anyone know how to publish a .NET Core 3.0 application for ARM64? I can only select \"linux-arm\" but no \"linux-arm64\". Setting linux-arm in combination with x64 also

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-06 04:38

    The linux-arm64 isn't available from the publish profile settings, but if you build it using linux-arm and manually edit your .pubxml file afterwards, it works on the pi just fine. As the link you provided shows, it is supported. It seems it hasn't been added to the tooling yet.

    Just publish as usual and then edit .pubxml

    Change linux-arm to linux-arm64

    Then you can publish on a 64bit Raspberry pi

提交回复
热议问题