The Arduino plugin for Visual Studio supports local libraries you can find the plugin [here][1] [1]: http://www.visualmicro.com