-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error Did not find the file passed to "--dart-define-from-file" on extraArgs #125
Comments
Hi, I will check and see what can be done. I am busy with work and life, give me some time and I will push a fix ASAP |
Hi @diegolmauro, I have updated the version from 0.3.18 to 0.4.0 to denote major changes (this fixes #124). If previous version of this extension is needed then you download it from releases For a week I will leave the extension as is on the latest update to validate everything is working fine with the updated node & packages. Next week, I will try my best to push a fix for this (I do not have access to Flutter/Azure project anymore so most of my fixes are blind, so bear with me here) Thanks |
Can you try one thing, - check this https://stackoverflow.com/questions/77445120/flutter-dart-define-from-file-is-not-working and try
|
Hi @hey24sheep, thank you for the quick response. Here’s the structure of my project’s path:
I've tried all the suggested patterns and using both If I move the Thanks. |
Can you try move config to lib folder and try with the build task, does that work? Actually, it should work with extraArgs. I'm wondering why it isn't working |
Yes, moving the
|
Okay, I'm sorry but I'm a little confused now. Is it working now with extraArgs? With the current build task? Because I don't want to add one more configuration option if it's working. |
The build task only works when I move the What I'm trying to explain is that when using the But don't worry about it, I'll move the |
Ohh, I got it now. So, then if I add one more option it could be a shot in the dark. It might work or won't. I could try and add during the weekend but I'm pretty sure it won't work because that argument will be passed the same way as extraArgs is processing it right now. |
Hi.
I'm fallowing the instructions of the answered of this issue: #84, and I'm trying to use
--dart-define-from-file
by passing it toextraArgs
, but I always get the errorDid not find the file passed to "--dart-define-from-file"
. I've tried several patterns, such as "/configs/dev.json", "$(Build.SourcesDirectory)/configs/dev.json" and "configs/dev.json". Can you please help me with this?The text was updated successfully, but these errors were encountered: