How to run arduino from visual studio

You can use the visual studio tools menu "open sketch in arduino" option to open and compile the current sketch in the arduino ide

The option works well if you set the arduino preferences to use an external editor.

When you click "compile" in arduino it will automatically reload the sketch if the source has altered

News - 2010

2nd May - Visual Studio 2010 - Navigating the Navigator with ArduPilot

18th April - Supports multiple sketch (pde) files in a single project (ArduPilot)

17th April - Supported on all windows language versions

14th April - First test success

11th April - The arduino visual studio beta was released today

Links and References

Visual Micro Forums here

Visit the Arduino forums here

A different solution here

Bob Powell's solution here

Ardupliot example here