Closed jvanoeveren closed 7 months ago
@jvanoeveren Thank you so much for this important bug report 🥇
I publish new version (3.16.7) with a fix.
Hello, I ran into the same issue :
when I run dart run msix:create, it will run flutter build windows and output the build in build/windows/x64/runner/Release. However, I then receive an error that the build files are not found at build/Windows/runner/Release because the platform architecture hasn't been appended to the file path yet.
Built msix:create. running "flutter build windows"... 200.6s building msix files... /Unhandled exception: Build files not found at C:\xxxxxx/build/windows/runner/Release, first run "flutter build windows" then try again
:information_source: Info
Version:
v3.16.6
:speech_balloon: Description
With the release of Flutter 3.16, the build output for Windows builds have changed to include the platform architecture in the build output. https://docs.flutter.dev/release/breaking-changes/windows-build-architecture So, when I run
dart run msix:create
, it will runflutter build windows
and output the build inbuild/windows/x64/runner/Release
. However, I then receive an error that the build files are not found atbuild/Windows/runner/Release
because the platform architecture hasn't been appended to the file path yet.Interestingly enough, if I run
dart run msix:create
, let it build the files, and then rundart run msix:create
again, then it doesn't error and packages the msix correctly. I'm assuming that's a bug as it should work first try.Here's the full verbose logs from running the command.
:scroll: Pubspec.yaml