Author: ankit
Date: 2007-04-26 07:44:07 -0400 (Thu, 26 Apr 2007)
New Revision: 76307

Modified:
   trunk/monodevelop/Extras/prj2make-sharp-lib/ChangeLog
   trunk/monodevelop/Extras/prj2make-sharp-lib/MSBuildFileFormat.cs
Log:
* MSBuildFileFormat.cs (HandleFilePropertyChanged): ProjectFile.DependsOn can
be null.


Modified: trunk/monodevelop/Extras/prj2make-sharp-lib/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/prj2make-sharp-lib/ChangeLog       2007-04-26 
11:36:24 UTC (rev 76306)
+++ trunk/monodevelop/Extras/prj2make-sharp-lib/ChangeLog       2007-04-26 
11:44:07 UTC (rev 76307)
@@ -1,5 +1,10 @@
 2007-04-26  Ankit Jain  <[EMAIL PROTECTED]>
 
+       * MSBuildFileFormat.cs (HandleFilePropertyChanged): 
ProjectFile.DependsOn can
+       be null.
+
+2007-04-26  Ankit Jain  <[EMAIL PROTECTED]>
+
        * SlnFileFormat.cs (WriteFile): Allow writing for non-root combines
        which don't have a msbuild combine as parent. Convert any non-msbuild
        child projects to msbuild format, and Save all child entries.

Modified: trunk/monodevelop/Extras/prj2make-sharp-lib/MSBuildFileFormat.cs
===================================================================
--- trunk/monodevelop/Extras/prj2make-sharp-lib/MSBuildFileFormat.cs    
2007-04-26 11:36:24 UTC (rev 76306)
+++ trunk/monodevelop/Extras/prj2make-sharp-lib/MSBuildFileFormat.cs    
2007-04-26 11:44:07 UTC (rev 76307)
@@ -767,7 +767,8 @@
                        }
 
                        //DependentUpon is relative to the basedir of the 'pf' 
(resource file)
-                       EnsureChildValue (d.ProjectFileElements 
[e.ProjectFile], "DependentUpon", ns,
+                       if (!String.IsNullOrEmpty (e.ProjectFile.DependsOn))
+                               EnsureChildValue (d.ProjectFileElements 
[e.ProjectFile], "DependentUpon", ns,
                                        
Runtime.FileService.AbsoluteToRelativePath (
                                                Path.GetDirectoryName 
(e.ProjectFile.Name), e.ProjectFile.DependsOn));
                        //FIXME: Subtype, Data

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

Reply via email to