Windows 构建路径已更改,以添加目标架构
概述
#Flutter Windows 应用程序的已构建可执行文件现在位于依赖于体系结构的文件夹中。
背景
#为了支持 Windows on Arm64,Windows 构建路径已更新,以添加构建的目标体系结构。
以前,Flutter for Windows 的构建假定目标体系结构为 x64。
迁移指南
#您可能需要更新您的基础架构以使用新的 Flutter Windows 构建路径。
迁移前的示例构建路径
build\windows\runner\Release\hello_world.exe
迁移后(目标为 x64)的示例构建路径
build\windows\x64\runner\Release\hello_world.exe
迁移后(目标为 Arm64)的示例构建路径
build\windows\arm64\runner\Release\hello_world.exe
如果您使用 package:msix
,请更新到 3.16.7 或更高版本。
时间线
#已合并到版本:3.15.0-0.0.pre
稳定版本:3.16
参考资料
#设计文档
相关拉取请求