-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] dart run msix:create no longer works with Flutter 3.16 #250
Comments
@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. But I am unable to upgrade to msix 3.16.7 due to below error: Resolving dependencies... (2.1s) Basically I am stuck here and am unable to build the msix package. Could you please help me with an alternate solution how to build the msix package once the windows build command is completed. I really need help with this. |
Did you find any solution for that @Serohq ? |
@YehudaKremer some of the dependencies are outdated, which is why many projects can't upgrade msix. Any chance this PR can get merged? Or if some of the dependencies require work before getting updated, can we merge the ones that don't? Especially some that are more commonly used like get_it. For anyone else reading this, the workaround from this issue works and I suppose you can add any of the other dependencies you need in the override. |
ℹ️ Info
Version:
v3.16.6
💬 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.
📜 Pubspec.yaml
The text was updated successfully, but these errors were encountered: