This extension can be used to develop and debug C/C++ application running inside a container on Torizon OS.
Develop Torizon applications using Visual Studio
This extension will let you develop C/C++ Linux applications that will run inside a container on top of Torizon OS.
You can develop and debug the application using Visual Studio 2017 on a Windows PC, starting from some base debian-Linux images or create your own custom container.
This extension supports application development for Torizon, so you have to install it on a compatible Toradex module, as documented here.
Application developed by this extension are delivered as containers, so you need to install the torizon-core-docker variant of Torizon.
Instruction assume that you are using the Toradex Colibri/Apalis EVB, but you'll just need a connection to the serial console or over network, so this may be easily adapted to other carrier boards.
First build attempt of a new project may fail. This is due to the fact that a new instance of the SDK container needs to be created and this may take longer than the connection timeout supported by Visual Studio. Re-launching build command should fix the issue.
When using the debian-LXDE container application deployment may fail the first time you attempt it on a device where the container is not yet running. It takes some time before the container is fully started and ready to accept incoming connections. Usually re-executing the deploy operation should be enough to fix the issue.