Using VS 2022 not able to create module in IOT Edge project

Deepak Singh Rawat [DKSR] 0 Reputation points
2023-09-14T11:03:26.9866667+00:00

Hi,

I am creating an IOT edge project by following the steps mentioned in "https://learn.microsoft.com/en-us/azure/iot-edge/how-to-visual-studio-develop-module?view=iotedge-1.4&pivots=iotedge-dev-cli" but Visual studio is creating an incomplete project, custom edge module is missing. Neither I am getting any error nor It is creating any module.

You can refer attached screenshot. edge module is missing.IOT_EDGE

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
535 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 28,386 Reputation points MVP
    2023-09-14T13:24:59.05+00:00

    Hello @Deepak Singh Rawat [DKSR] ,

    welcome to this moderated community forum.

    This is by design. The template should be used in combination with the Visual Studio Code tooling as seen in the prerequisites.

    Visual Studio Code is more focused on folders instead of Visual Studio solutions and projects.

    Personally, the VS Code editor is more than sufficient for building and deploying Azure IoT Edge modules.

    If you really want to use Visual Studio, start a new project using the available IoT template found in Visual Studio, using the Azure IoT Edge tools for VS2022 extension:

    User's image


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    1 person found this answer helpful.