Open AnOdyssey opened 9 months ago
So after some debugging and allot of troubleshooting with different project types and old iotedge projects. I have found what was giving the issues.
When generating a new csharp module the following files are missing and need to be added manually.
Once these files are added in the output file the image will be set correctly and the docker-compose error will stop.
Hi @AnOdyssey
Thanks for reporting this issue.
The VSCode IoT Edge extension is in maintenance mode, so new updates to the dotnet template wont be applicable.
If you want to still use this extension it needs to be configured File->Preferences->Settings->IoT Edge configuration->Version Csharpmodule
to use 3.2.0
or in settings.json
{
"azure-iot-edge.version.csharpmodule": "3.2.0"
}
Steps to Reproduce:
This is the generated deployment.debug.amd64.json It seems like the Image url of the modules does not get set correctly.
Does this issue occur when all other extensions are disabled?: Yes
Is this a bug or why is thing happening. Am I missing something else?