Developing Arduino Projects with Visual Studio

This tutorial shows how to use the Advanced Arduino Project Subsystem of VisualGDB to easily develop Arduino projects with Visual Studio. While VisualGDB also supports Arduino-compatible boards based on ARM, ESP8266 and ESP32 platforms, this tutorial covers the classic Arduino Uno board based on the AVR platform. We will create a basic “Blinking LED” project and will show how to use various Arduino-related features of VisualGDB to develop it conveniently.

Before you begin, install VisualGDB 5.4 Preview 4 or later. Although you can install the Arduino IDE to use the Arduino platforms and libraries shipped with it, this is not necessary as VisualGDB will automatically download the necessary Arduino packages if they are not already installed.

  1. Start Visual Studio and open the VisualGDB Arduino Project Wizard: