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
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,12 @@ zone_pivot_groups: iotedge-dev
15
15
16
16
This article shows you how to use Visual Studio 2022 to develop, debug, and deploy custom Azure IoT Edge modules. Visual Studio 2022 provides templates for IoT Edge modules written in C and C#. The supported device architectures are Windows x64, Linux x64, ARM32, and ARM64 (preview). For more information about supported operating systems, languages, and architectures, see [Language and architecture support](module-development.md#language-and-architecture-support).
17
17
18
-
You can choose either the **Azure IoT Edge Dev Tool** CLI or the **Azure IoT Edge tools for Visual Studio** extension as your IoT Edge development tool. Use the tool selector button at the beginning to choose your tool option for this article. Both tools provide the following benefits:
18
+
This article includes steps for two IoT Edge development tools.
19
+
20
+
***Azure IoT Edge Dev Tool** CLI. This tool is preferred for development.
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
+
23
+
Use the tool selector button at the beginning to choose your tool option for this article. Both tools provide the following benefits:
19
24
20
25
* Create, edit, build, run, and debug IoT Edge solutions and modules on your local development computer.
21
26
* Code your Azure IoT modules in C or C# with the benefits of Visual Studio development.
@@ -27,10 +32,13 @@ This article assumes that you use a machine running Windows as your development
27
32
28
33
* Install or modify Visual Studio 2022 on your development machine. Choose the **Azure development** and **Desktop development with C++** workloads options.
29
34
30
-
<!--::: zone pivot="iotedge-dev-ext"-->
35
+
::: zone pivot="iotedge-dev-ext"
31
36
32
37
* Install the Azure IoT Edge Tools either from the Marketplace or from Visual Studio:
33
38
39
+
> [!IMPORTANT]
40
+
> 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
+
34
42
* Download and install [Azure IoT Edge Tools](https://marketplace.visualstudio.com/items?itemName=vsc-iot.vs17iotedgetools) from the Visual Studio Marketplace.
35
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.
36
44
@@ -39,23 +47,16 @@ This article assumes that you use a machine running Windows as your development
39
47
> [!TIP]
40
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
41
49
42
-
<!-- >::: zone-end
43
-
44
-
::: zone pivot="iotedge-dev-cli" -->
50
+
::: zone-end
45
51
46
-
* Install the Python-based [Azure IoT Edge Dev Tool](https://pypi.org/project/iotedgedev/) in order to set up your local development environment to debug, run, and test your IoT Edge solution. If you haven't already done so, install [Python (3.6/3.7/3.8) and Pip3](https://www.python.org/) and then install the IoT Edge Dev Tool (iotedgedev) by running this command in your terminal.
52
+
::: zone pivot="iotedge-dev-cli"
47
53
48
-
```cmd
49
-
pip3 install iotedgedev
50
-
```
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:
51
55
52
-
> [!NOTE]
53
-
>
54
-
> If you have multiple Python including pre-installed Python 2.7 (for example, on Ubuntu or macOS), make sure you are using `pip3` to install *IoT Edge Dev Tool (iotedgedev)*.
55
-
>
56
-
> For more information setting up your development machine, see [iotedgedev development setup](https://github.com/Azure/iotedgedev/blob/main/docs/environment-setup/manual-dev-machine-setup.md).
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)
57
58
58
-
<!-- ::: zone-end -->
59
+
::: zone-end
59
60
60
61
* Install the **Vcpkg** library manager
61
62
@@ -236,7 +237,7 @@ Typically, you want to test and debug each module before running it within an en
236
237
* If developing in C#, set a breakpoint in the `PipeMessage()` function in **ModuleBackgroundService.cs**.
237
238
* If using C, set a breakpoint in the `InputQueue1Callback()` function in **main.c**.
238
239
239
-
1. Test the module by sending a message. When debugging a single module, the simulator listens on the default port 53000 for messages. To send a message to your module, run the following curl command from a command shell like **Git Bash** or **WSL Bash**.
240
+
1. Test the module by sending a message. When you're debugging a single module, the simulator listens on the default port 53000 for messages. To send a message to your module, run the following curl command from a command shell like **Git Bash** or **WSL Bash**.
Copy file name to clipboardExpand all lines: articles/iot-edge/tutorial-develop-for-linux.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This tutorial walks through developing and deploying your own code to an IoT Edg
21
21
22
22
This article includes steps for two IoT Edge development tools.
23
23
24
-
**Azure IoT Edge Dev Tool* command-line tool (CLI). This tool is preferred for development.
24
+
**Azure IoT Edge Dev Tool* command-line (CLI). This tool is preferred for development.
25
25
**Azure IoT Edge tools for Visual Studio Code* extension. The extension is in [maintenance mode](https://github.com/microsoft/vscode-azure-iot-edge/issues/639).
26
26
27
27
Use the tool selector button at the beginning of this article to select the tool version.
@@ -113,6 +113,9 @@ Install the Python-based [Azure IoT Edge Dev Tool](https://pypi.org/project/iote
113
113
114
114
::: zone pivot="iotedge-dev-ext"
115
115
116
+
> [!IMPORTANT]
117
+
> The *Azure IoT Edge tools for Visual Studio Code* extension is in [maintenance mode](https://github.com/microsoft/vscode-azure-iot-edge/issues/639). The preferred development tool is the command-line (CLI) *Azure IoT Edge Dev Tool*.
118
+
116
119
Use the IoT extensions for Visual Studio Code to develop IoT Edge modules. These extensions offer project templates, automate the creation of the deployment manifest, and allow you to monitor and manage IoT Edge devices. In this section, you install Visual Studio Code and the IoT extension, then set up your Azure account to manage IoT Hub resources from within Visual Studio Code.
0 commit comments