You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-edge/how-to-visual-studio-develop-module.md
+5-24Lines changed: 5 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ This article shows you how to use Visual Studio 2022 to develop, debug, and depl
17
17
18
18
This article includes steps for two IoT Edge development tools.
19
19
20
-
***Azure IoT Edge Dev Tool**CLI. This tool is preferred for development.
20
+
*Command line interface (CLI) is the preferred tool for development.
21
21
***Azure IoT Edge tools for Visual Studio** extension. The extension is in [maintenance mode](https://github.com/microsoft/vscode-azure-iot-edge/issues/639).
22
22
23
23
Use the tool selector button at the beginning to choose your tool option for this article. Both tools provide the following benefits:
@@ -32,31 +32,13 @@ This article assumes that you use a machine running Windows as your development
32
32
33
33
* Install or modify Visual Studio 2022 on your development machine. Choose the **Azure development** and **Desktop development with C++** workloads options.
34
34
35
-
::: zone pivot="iotedge-dev-ext"
36
-
37
-
* Install the Azure IoT Edge Tools either from the Marketplace or from Visual Studio:
35
+
* Download and install [Azure IoT Edge Tools](https://marketplace.visualstudio.com/items?itemName=vsc-iot.vs17iotedgetools) from the Visual Studio Marketplace. You can use the Azure IoT Edge Tools extension to create and build your IoT Edge solution. The preferred development tool is the command-line (CLI) *Azure IoT Edge Dev Tool*. The extension includes the Azure IoT Edge project templates used create the Visual Studio project. Currently, you need the extension installed regardless of the development tool you use.
38
36
39
37
> [!IMPORTANT]
40
38
> The *Azure IoT Edge Tools for VS 2022* extension is in [maintenance mode](https://aka.ms/edgetool-dep). The preferred development tool is the command-line (CLI) *Azure IoT Edge Dev Tool*.
41
39
42
-
* Download and install [Azure IoT Edge Tools](https://marketplace.visualstudio.com/items?itemName=vsc-iot.vs17iotedgetools) from the Visual Studio Marketplace.
43
-
* Or, in Visual Studio go to **Extensions > Manage Extensions**. The **Manage Extensions** popup opens. In the search box in the upper right, add the text **Azure IoT Edge Tools for VS 2022**, then select **Download**. Close the popup when finished.
44
-
45
-
You may have to restart Visual Studio.
46
-
47
40
> [!TIP]
48
-
> If you are using Visual Studio 2019, download and install [Azure IoT Edge Tools for VS 2019](https://marketplace.visualstudio.com/items?itemName=vsc-iot.vs16iotedgetools) from the Visual Studio marketplace
49
-
50
-
::: zone-end
51
-
52
-
::: zone pivot="iotedge-dev-cli"
53
-
54
-
* Install the Python-based [Azure IoT Edge Dev Tool](https://pypi.org/project/iotedgedev/) to create your IoT Edge solution. There are two options:
55
-
56
-
* Use the prebuilt [IoT Edge Dev Container](https://github.com/Azure/iotedgedev/blob/main/docs/environment-setup/run-devcontainer-docker.md)
57
-
* Install the tool using the [iotedgedev development setup](https://github.com/Azure/iotedgedev/blob/main/docs/environment-setup/manual-dev-machine-setup.md)
58
-
59
-
::: zone-end
41
+
> If you are using Visual Studio 2019, download and install [Azure IoT Edge Tools for VS 2019](https://marketplace.visualstudio.com/items?itemName=vsc-iot.vs16iotedgetools) from the Visual Studio marketplace.
60
42
61
43
* Install the **Vcpkg** library manager
62
44
@@ -170,7 +152,7 @@ Currently, the latest stable runtime version is 1.4. You should update the IoT E
170
152
171
153
::: zone pivot="iotedge-dev-cli"
172
154
173
-
1. In Visual Studio Code, open *deployment.debug.template.json* deployment manifest file. The [deployment manifest](module-deployment-monitoring.md#deployment-manifest) is a JSON document that describes the modules to be configured on the targeted IoT Edge device.
155
+
1. Open *deployment.debug.template.json* deployment manifest file. The [deployment manifest](module-deployment-monitoring.md#deployment-manifest) is a JSON document that describes the modules to be configured on the targeted IoT Edge device.
174
156
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:
175
157
176
158
```json
@@ -483,7 +465,7 @@ In Visual Studio, open *deployment.debug.template.json* deployment manifest file
483
465
484
466
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.
485
467
486
-
1. Add or replace the *createOptions* value with stringified content for each system and custom module in the deployment template.
468
+
1. Add or replace the *createOptions* value with stringified content *for each system and custom module in the deployment template*.
487
469
488
470
For example, the IotEdgeModule1's *image* and *createOptions* settings would be similar to the following:
0 commit comments