Fixed 'Bug 16281 - Error closing the MonoDevelop project using 4.2.0'.