Updated for Monodevelop 4.0