Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.

Start free today

Azure IoT Edge tools in Visual Studio 2019

Play Azure IoT Edge tools in Visual Studio 2019
Sign in to queue

Description

Today we have full support for Visual Studio Code to develop for Azure IoT Ege devices, but enterprise developers (especially Windows developers) are looking for an integrated developer experience in Visual Studio.
Azure IoT Edge Tools makes it easy to code, build, deploy, and debug your IoT Edge solutions in Visual Studio 2019.
Xin Shin, PM in the Developers divisions, walks us through the IoT Edge developer experience in Visual Studio 2019.
 
Use Visual Studio 2019 to develop and debug modules for Azure IoT Edge: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-visual-studio-develop-module
 
Try Azure IoT for free today: https://aka.ms/aft-iot

Embed

Download

The Discussion

  • User profile image
    DMaxwell
    I appreciate this presentation. It was something I have wanted for a while. I succeeded in following your steps in a Windows computer. That is good. However, Xin Shin, I noticed you are using a Macbook and are successful in getting that to work.

    I cannot get it to work in my MacBook Pro 16GB Parallels Pro 14. Nested virtualization is on as required I think. The build process goes all the way to the end but cannot start the IotEdgeModule nor the tempSensor.
    "ERROR: for IotEdgeModule1 Cannot start service IotEdgeModule1: CreateComputeSystem"

    It takes about 40 minutes to build and get that far. The MacBook Pro computer is severely taxed and runs extremely slowly. I am about to give up. Is there a forum or help area for those who wish to develop on a MacBook Pro especially while traveling?

    I think this is a Macbook problem using Windows 10 64 bit in Parallels 14 because the same steps work in standard Windows Visual Studio 2019. So I am reluctant to post an issue in GitHub but will do so if instructed. Thank you again.,

  • User profile image
    gcobanim
    Hi Xin, i only get a problem when i create a azure iot edge and get an error "One or more error" it fails to create my azure iot edge. What could be the reason for this failer?
  • User profile image
    shizn
    @DMaxwell:
    Hi DMaxwell, I was using Surface Laptop in the presentation. On macbook, I only tried with BootCamp. Are you using Windows 10 1809+ in your Parallels Pro 14? I am guessing that would be the reason for this problem.
  • User profile image
    shizn
    @gcobanim:
    Hi gcobanim,
    Could you create an issue in our repo (https://github.com/microsoft/vs-azure-iot-edge-docs) with a screenshot showing this error? That would help me get more information for this issue. Thanks!
  • User profile image
    Heinrich Braasch

    Thanks for the video. Very enlightening.
    I've tried your instructions to remote debug on a Pi using <<https://devblogs.microsoft.com/iotdev/debug-iot-edge-c-or-csharp-windows-module-container-with-visual-studio-azure-iot-edge-tools/>>
    but end up to 99%, but getting an exception as soon as debugging suppose to start. The reason could be me not entering/changing stuff correctly and I would like to ask a big favor.
    Would it be possible to make a simple video showing you running through the complete process on your Windows machine, just capturing the screen as you do it. It will remove a lot of uncertainties.
    It shall be much appreciated.

  • User profile image
    Heinrich Braasch

    Would you be so kind to let us know when a more tightly integrated Visual Studio solution becomes available? For example, the developer only needs to set up his/her Raspbian device manually, then provides VS its username and password. VS will than automate the build/ deploy/ debugging into the Pi with a single F5.

    Thanks

  • User profile image
    shizn
    @Heinrich Braasch:

    Hi Heinrich, if you are looking for generic Linux development in Visual Studio (using a Pi with SSH), this might be helpful - https://www.hanselman.com/blog/VisualCForLinuxAndRaspberryPiDevelopment.aspx
  • User profile image
    Heinrich Braasch

    @shizn

    Thanks for the feedback and link. However, I would like to develop using C#. So I'm looking for the same using C#, which from your video presentation above, appeared to be almost there, but not quite yet.

    Is there anything in the pipeline? The reason why our Pi developers are looking at this is because it appears Windows Iot Core for Pi has been sidelined by Microsoft.

Add Your 2 Cents