private void RegisterProjectFactory(VsProjectFactory factory)
 {
     try
     {
         base.RegisterProjectFactory(factory);
     }
     catch (ArgumentException ae)
     {
         MessageCentre.InternalErrorMsg(false, String.Format("Could not register {0} with the IDE: {1}", factory.GetType( ).Name, ae.Message));
     }
 }
 private void RegisterProjectFactory( VsProjectFactory factory )
 {
     try
     {
         base.RegisterProjectFactory( factory );
     }
     catch( ArgumentException ae )
     {
         MessageCentre.InternalErrorMsg( false, String.Format( "Could not register {0} with the IDE: {1}", factory.GetType( ).Name, ae.Message ) );
     }
 }