Open your Arduino sketch in Microsoft Visual Studio. Visual Micro gives the C++ editor the board and library information it needs for IntelliSense, builds your sketch with its Arduino toolchain, and uploads it to your board. You can keep working on the same .ino files in the Arduino IDE.
Get Visual Micro for Visual Studio 2022 or 2026 · Open an existing sketch · Browse the user guide
More than 1 million installs on the Visual Studio Marketplace.
The vMicro toolbar selects the board and port. Below the sketch, Build Output confirms the upload and the Serial Monitor shows the “Hello World” messages coming back from the board.
Start with your own sketch or a library example. Use Go to Definition to follow a call into a library, and use IntelliSense to see the functions available for the selected board. Install boards and libraries from within Visual Studio. When you build, Visual Micro uses the compiler and build recipes supplied by the selected board package.
Set up your first project · Install a board package · Manage libraries · Configure IntelliSense
A serial tracepoint can print a variable when a condition is met and let the sketch continue. When you need to stop the processor and step through C++, use GDB with a supported board and debug connection. Visual Studio shows the current line, the values in scope and the calls that brought execution there.
Execution has stopped just before ++sampleNumber. Autos shows reading is 100 and lastResult is 214. The Call Stack shows that loopTask called loop().
Set a serial breakpoint · Log values with tracepoints · Find a hardware debugger for your board · Use the Serial Monitor
Keep sketches together in a Visual Studio solution and save each project’s board, port and debugger settings. If a team needs to preserve a working build, a portable solution can keep the board packages, toolchains and libraries beside the solution file so they can be versioned with the code.
Save settings by project · Use Debug and Release configurations · Create a portable solution
When a build fails, copy the active project context from the vMicro menu. Review the selected board, toolchain, build settings and output before sharing them with GitHub Copilot, Codex or another assistant. Use AI with a Visual Micro project


