Author: mhutch
Date: 2008-01-23 16:36:43 -0500 (Wed, 23 Jan 2008)
New Revision: 93717

Modified:
   branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects/ChangeLog
   
branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects/MonoDevelop.Projects/DotNetProject.cs
Log:
2008-01-11  Michael Hutchinson <[EMAIL PROTECTED]> 

        * MonoDevelop.Projects/DotNetProject.cs: Set an attribute on the project
          options so that language bindings know whether to set debug defines on
          the new configuration.



Modified: branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects/ChangeLog
===================================================================
--- branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects/ChangeLog       
2008-01-23 21:34:11 UTC (rev 93716)
+++ branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects/ChangeLog       
2008-01-23 21:36:43 UTC (rev 93717)
@@ -1,3 +1,9 @@
+2008-01-11  Michael Hutchinson <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.Projects/DotNetProject.cs: Set an attribute on the project
+         options so that language bindings know whether to set debug defines on
+         the new configuration.
+
 2008-01-22  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Projects/DotNetProject.cs: In GetDefaultNamespace, return 
the

Modified: 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects/MonoDevelop.Projects/DotNetProject.cs
===================================================================
--- 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects/MonoDevelop.Projects/DotNetProject.cs
   2008-01-23 21:34:11 UTC (rev 93716)
+++ 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects/MonoDevelop.Projects/DotNetProject.cs
   2008-01-23 21:36:43 UTC (rev 93717)
@@ -147,12 +147,14 @@
                        languageBinding = FindLanguage (language);
                        
                        if (languageBinding != null) {
+                               projectOptions.SetAttribute ("DefineDebug", 
"True");
                                DotNetProjectConfiguration configuration = 
(DotNetProjectConfiguration) CreateConfiguration ("Debug");
                                configuration.CompilationParameters = 
languageBinding.CreateCompilationParameters (projectOptions);
                                Configurations.Add (configuration);
                                
                                configuration = (DotNetProjectConfiguration) 
CreateConfiguration ("Release");
                                configuration.DebugMode = false;
+                               projectOptions.SetAttribute ("DefineDebug", 
"False");
                                configuration.CompilationParameters = 
languageBinding.CreateCompilationParameters (projectOptions);
                                Configurations.Add (configuration);
                        }

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

Reply via email to