How to add an Arduino library using Visual Studio

by Visual Micro 27. October 2011 05:46
January 2015 - New documentation that explains how to add an Arduino library to a sketch can be found here
June 2015 - The Micro Explorer can be also be used to install libraries using the Library Manager and also to insert libraries into the current open project

Add an arduino Library using the project menu
The 2nd entry on the Project menu allows libraries to be added
When adding libraries the #includes are automatically added to the master .pde source.
You must click "Save" before the intellisense will detect the new libraries.
Optionally toggle the library sources in/out of the visual studio project using "Project>Show all Arduino files".
Including the actual library sources codes does not break the compiler but allows the libraries to be explored using the Visual Studio object browser