How to add an Arduino library using Visual Studio

by Visual Micro 27. October 2011 08:46
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

Tips & Bits

Debug and power tools coming soon!!

Visual Assist X (VAX) - How to configure Arduino sketches as VAX C++ files. Refactor, Snipets, enhanced syntax colors, examples, suggestions and much much more. Only downside is that it costs $100.

Connect two or more arduinos and spy on the serial communication using visual studio and "Serial Echo"

Apple Mac users might find this xcode site useful

Coming soon! Android and Processing for Visual Studio

How to prevent or remove Visual Studio pch folders

How to configure visual studio color coding for arduino source code

See more Examples

Multiple sketch projects and windows projects can co-exist in a single solution. Fully integrated. F5 Compile and upload (startup project). Build Project, Build Solution