Skip to content

Commit 69c61d3

Browse files
committed
Add json comment
1 parent 4ee018a commit 69c61d3

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

articles/iot-edge/how-to-visual-studio-develop-module.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,15 @@ Currently, the latest stable runtime version is 1.4. You should update the IoT E
152152
Currently, the extension doesn't include a selection for the latest runtime versions. If you want to set the runtime version higher than 1.2, open *deployment.debug.template.json* deployment manifest file. Change the runtime version for the system runtime module images *edgeAgent* and *edgeHub*. For example, if you want to use the IoT Edge runtime version 1.4, change the following lines in the deployment manifest file:
153153

154154
```json
155-
...
156155
"systemModules": {
157156
"edgeAgent": {
158-
...
159-
"image": "mcr.microsoft.com/azureiotedge-agent:1.4",
160-
...
157+
//...
158+
"image": "mcr.microsoft.com/azureiotedge-agent:1.4"
159+
//...
161160
"edgeHub": {
162-
...
161+
//...
163162
"image": "mcr.microsoft.com/azureiotedge-hub:1.4",
164-
...
163+
//...
165164
```
166165

167166
1. If you changed the version, regenerate your deployment manifest by right-clicking the name of your project and select **Generate deployment for IoT Edge**. This generates a deployment manifest based on your deployment template and appears in the **config** folder of your Visual Studio project.
@@ -174,16 +173,15 @@ Currently, the latest stable runtime version is 1.4. You should update the IoT E
174173
1. Change the runtime version for the system runtime module images *edgeAgent* and *edgeHub*. For example, if you want to use the IoT Edge runtime version 1.4, change the following lines in the deployment manifest file:
175174

176175
```json
177-
...
178176
"systemModules": {
179177
"edgeAgent": {
180-
...
178+
//...
181179
"image": "mcr.microsoft.com/azureiotedge-agent:1.4",
182-
...
180+
//...
183181
"edgeHub": {
184-
...
182+
//...
185183
"image": "mcr.microsoft.com/azureiotedge-hub:1.4",
186-
...
184+
//...
187185
```
188186

189187
::: zone-end
@@ -479,7 +477,7 @@ In Visual Studio, open *deployment.debug.template.json* deployment manifest file
479477
}
480478
}
481479
},
482-
...
480+
//...
483481
```
484482

485483
1. Replace the *image* property value with the module image name you pushed to the registry. For example, if you pushed an image tagged `myacr.azurecr.io/iotedgemodule1:0.0.1-amd64` for custom module *IotEdgeModule1*, replace the image property value with the tag value.

0 commit comments

Comments
 (0)