Fixes unhandled COM exception in VS 2010.
Fixes unhandled COM exception in VS 2010.

mousetraps/xtvs-common,Microsoft/VisualStudio-SharedProject,enricosada/VisualStudio-SharedProject,mousetraps/xtvs-common