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 的最新稳定版本。页面最后更新于 2025-01-30。 查看源代码 或 报告问题。