How to create a new arduino sketch in visual studio

The visual micro tools menu provides the facility to create a new sketch folder, sketch.pde and associated visual studio project/solution files

Click the "New arduino sketch project" on the tools menu to create a new sketch

 

Entering a name when prompted will save the current solution, create a sketch folder, sketch.pde and all files required for a new arduino visual studio project. If a folder already exists with the same name then a prompt appears and the operation is aborted

 

 

The new sketch will be opened in a project and solution of the same name and will include the setup() and loop() methods. If an arduino board is selected prior to creating the sketch then you will simply need to enter some code and click compile.

 

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