Migrated project to Arduino IDE for Visual Studio (http://www.visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx). Sketch can still be edited directly in Arduino Studio without side effects.