[Monodevelop-patches-list] r1977 - in trunk/MonoDevelop/Core/src/Main/Base: . Internal/Project/Project

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Thu Oct 7 16:57:32 EDT 2004


Author: tberman
Date: 2004-10-07 16:57:31 -0400 (Thu, 07 Oct 2004)
New Revision: 1977

Modified:
   trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
   trunk/MonoDevelop/Core/src/Main/Base/Internal/Project/Project/AbstractProject.cs
Log:
2004-10-07  Todd Berman  <tberman at off.net>

        * Internal/Project/Project/AbstractProject.cs: Make sure to copy the
        .mdb file if it exists when pushing the new dll into the AppBase of
        the executing assembly. This gives debug info for supporting dlls
        under 1.1.x and HEAD when you click 'Run'.



Modified: trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-10-07 05:47:15 UTC (rev 1976)
+++ trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-10-07 20:57:31 UTC (rev 1977)
@@ -1,5 +1,12 @@
 2004-10-07  Todd Berman  <tberman at off.net>
 
+	* Internal/Project/Project/AbstractProject.cs: Make sure to copy the
+	.mdb file if it exists when pushing the new dll into the AppBase of
+	the executing assembly. This gives debug info for supporting dlls
+	under 1.1.x and HEAD when you click 'Run'.
+
+2004-10-07  Todd Berman  <tberman at off.net>
+
 	* Servers/MessageService.cs: Fix a little (but important) bug with
 	ShowMessage not properly working. Now you can actually *close* the
 	window. Pretty good.

Modified: trunk/MonoDevelop/Core/src/Main/Base/Internal/Project/Project/AbstractProject.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/Internal/Project/Project/AbstractProject.cs	2004-10-07 05:47:15 UTC (rev 1976)
+++ trunk/MonoDevelop/Core/src/Main/Base/Internal/Project/Project/AbstractProject.cs	2004-10-07 20:57:31 UTC (rev 1977)
@@ -550,6 +550,8 @@
 					try {
 						if (destinationFileName != referenceFileName) {
 							File.Copy(referenceFileName, destinationFileName, true);
+							if (File.Exists (referenceFileName + ".mdb"))
+								File.Copy (referenceFileName + ".mdb", destinationFileName + ".mdb", true);
 						}
 					} catch (Exception e) {
 						Console.WriteLine("Can't copy reference file from {0} to {1} reason {2}", referenceFileName, destinationFileName, e);




More information about the Monodevelop-patches-list mailing list