Author: lluis
Date: 2005-11-14 11:29:18 -0500 (Mon, 14 Nov 2005)
New Revision: 53022

Modified:
   trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
   
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs
Log:
2005-11-14  Lluis Sanchez Gual  <[EMAIL PROTECTED]>

        * MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs: Catch and show
        errors raised while creating the project.



Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog        2005-11-14 
16:27:51 UTC (rev 53021)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog        2005-11-14 
16:29:18 UTC (rev 53022)
@@ -1,3 +1,8 @@
+2005-11-14  Lluis Sanchez Gual  <[EMAIL PROTECTED]>
+
+       * MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs: Catch and show
+       errors raised while creating the project.
+
 2005-11-11  Lluis Sanchez Gual  <[EMAIL PROTECTED]>
 
        * MonoDevelop.Ide.Gui.Search/SearchReplaceInFilesManager.cs:

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs
  2005-11-14 16:27:51 UTC (rev 53021)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs
  2005-11-14 16:29:18 UTC (rev 53022)
@@ -255,7 +255,12 @@
                                cinfo.ProjectName     = name;
 //                             cinfo.ProjectTemplate = item.Template;
                                
-                               NewCombineLocation = item.CreateProject (cinfo);
+                               try {
+                                       NewCombineLocation = item.CreateProject 
(cinfo);
+                               } catch (Exception ex) {
+                                       Services.MessageService.ShowError (ex, 
GettextCatalog.GetString ("The project could not be created"));
+                               }
+                               
                                if (NewCombineLocation == null || 
NewCombineLocation.Length == 0)
                                        return;
                                

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to