Windows build path changed to add the target architecture
Summary
#Built executables for Flutter Windows apps are now located in architecture dependent folders.
Context
#In preparation for supporting Windows on Arm64, the Windows build path was updated to add the build's target architecture.
Previously, Flutter builds for Windows assumed an x64 target architecture.
Migration guide
#You may need to update your infrastructure to use the new Flutter Windows build path.
Example build path before the migration:
build\windows\runner\Release\hello_world.exe
Example build path after the migration if targeting x64:
build\windows\x64\runner\Release\hello_world.exe
Example build path after the migration if targeting Arm64:
build\windows\arm64\runner\Release\hello_world.exe
If you use package:msix
, update to version 3.16.7 or newer.
Timeline
#Landed in version: 3.15.0-0.0.pre
In stable release: 3.16
References
#Design document:
Relevant pull requests:
除非另有说明,本文档之所提及适用于 Flutter 的最新稳定版本,本页面最后更新时间: 2024-04-04。 查看文档源码 或者 为本页面内容提出建议。