Open vermillionsword opened 3 years ago
@vermillionsword thanks for reporting this issue, we will investigate and update this thread.
+1 We're facing exactly the same issue. VSCode takes module.json into account but it seems there is an experience downgrade in VS2019 which completely ignores the module.json file.
@marianan Is there a timeframe on when this issue might be resolved?
@vermillionsword this issue is in our backlog; we don't have an ETA at this time. If this is a critical/blocking issue, please share why. Would using VSCode unblock the scenario until we get to investigate and resolve this issue? Are there other work arounds?
@marianan VS Code will work for now. Thank you for the update.
Machine
In my module.json I am attempting to pass a build arg like so: "buildOptions": [ "--build-arg PAT=${PAT}" ] ($PAT coming from a .env file)
When I right-click on my iotedgeproj and hit "Build IoT Edge Modules", the docker build does not include my custom build options:
docker build --rm -f "C:\repos\EdgePlatform\CleanSpark.Edge\CleanSpark.Edge.FeedModule\Dockerfile.amd64.debug" -t localhost:5000/feedmodule:0.0.1-amd64.debug "C:\repos\EdgePlatform\CleanSpark.Edge\CleanSpark.Edge.FeedModule"