-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Description
When I generate a new C# module, there is no module.json generated. This seems to cause problems in the build stage, meaning that the placeholder is not populated in the generated deployment file as follows.
"image": "${MODULES.SampleModule}",
This happens when you add a new #C module, or when you start from scratch with iotedgedev new.
Expected behavior
Basic project generation works - I can build and deploy the new module
Actual behavior
Basic project generation doesn't work - I can't build and deploy the new module.
Steps to Reproduce
mkdir test-solution
cd test-solution
iotedgedev new TestSolution # defaults to #C
The generated filtermodule has no module.json file.
When you build with iotedgedev build you get a deployment.amd64.json in the config directory with the following:
"image": "${MODULES.filtermodule}", - This is invalid and won't deploy correctly.
I think the generation and deployment of C# modules needs to be tested to make sure the build steps work. It just seems broken right now.
Environment
iotedgedev, version 2.1.0
Python 3.11.4
pip 23.1.2