I'm currently working on using Nant to build the mcs class directories/assemblies/etc.
I just committed several fixes to the .build files.
Here is the current state:
(note that I currently only worked on getting everything compiling with csc, I will try to work on getting mcs specific updates in the near future)
* almost everything compiles 'out of the box' now. I do get several warnings (see attached gzipped build logfile) and I am unable to build both System.Design and Mono.Directory.LDAP with csc (see seperate logs with errors attached)
* some assemblies depend on others to be build first. I'm not sure how to deal with that correctly, currently the build order is arranged for this to be ok, but it is not ideal
* clean/build/mcs-build/test are all targets with similar behaviour, except for their nant task (csc, mcs, etc). I would like to make this more generic someway (but for now I will just duplicate the information for the different targets, until I am more familiar with Nant)
* Tests : some assemblies do(n't) provide them. It would be easier if every assembly provided test in a similar way
That's it for now... heading for bed,
---
Jeroen Janssen
Buildfile: file:///D:/mono/mcs/class/System.Design/System.Design.build
build:
[csc] Compiling 13 files to D:\mono\mcs\class\lib\System.Design.dll
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\CodeDomSerializer.cs(9,14):
error CS0234: The type or namespace name 'CodeDom' does not exist in the class or
namespace 'System' (are you missing an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\ICodeDomDesignerReload.cs(9,14):
error CS0234: The type or namespace name 'CodeDom' does not exist in the class or
namespace 'System' (are you missing an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\IDesignerLoaderHost.cs(14,41):
error CS0246: The type or namespace name 'IDesignerHost' could not be found (are you
missing a using directive or an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\IDesignerLoaderHost.cs(14,56):
error CS0246: The type or namespace name 'IServiceContainer' could not be found (are
you missing a using directive or an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\INameCreationService.cs(16,22):
error CS0246: The type or namespace name 'IContainer' could not be found (are you
missing a using directive or an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\IDesignerSerializationManager.cs(18,3):
error CS0246: The type or namespace name 'PropertyDescriptorCollection' could not be
found (are you missing a using directive or an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\ICodeDomDesignerReload.cs(16,30):
error CS0246: The type or namespace name 'CodeCompileUnit' could not be found (are
you missing a using directive or an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\CodeDomSerializer.cs(30,95):
error CS0246: The type or namespace name 'CodeExpression' could not be found (are you
missing a using directive or an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\CodeDomSerializer.cs(36,79):
error CS0246: The type or namespace name 'CodeStatement' could not be found (are you
missing a using directive or an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\CodeDomSerializer.cs(44,74):
error CS0246: The type or namespace name 'CodeStatementCollection' could not be found
(are you missing a using directive or an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\CodeDomSerializer.cs(50,78):
error CS0246: The type or namespace name 'CodeStatementCollection' could not be found
(are you missing a using directive or an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\CodeDomSerializer.cs(56,89):
error CS0246: The type or namespace name 'CodeStatementCollection' could not be found
(are you missing a using directive or an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\CodeDomSerializer.cs(75,13):
error CS0246: The type or namespace name 'CodeExpression' could not be found (are you
missing a using directive or an assembly reference?)
D:\mono\mcs\class\System.Design\System.ComponentModel.Design.Serialization\CodeDomSerializer.cs(81,13):
error CS0246: The type or namespace name 'CodeExpression' could not be found (are you
missing a using directive or an assembly reference?)BUILD FAILED D:\mono\mcs\class\System.Design\System.Design.build(10,4): External program returned errors, see build log for details. Try 'nant -help' for more information
Buildfile: file:///D:/mono/mcs/class/Mono.Directory.LDAP/Mono.Directory.LDAP.build
build:
[csc] Compiling 2 files to D:\mono\mcs\class\lib\Mono.Directory.LDAP.dll
D:\mono\mcs\class\Mono.Directory.LDAP\Mono.Directory.LDAP\LDAPMessage.cs(73,4): error
CS0246: The type or namespace name 'MonoTODO' could not be found (are you missing a
using directive or an assembly reference?)
BUILD FAILED
D:\mono\mcs\class\Mono.Directory.LDAP\Mono.Directory.LDAP.build(9,4): External program
returned errors, see build log for details.
Try 'nant -help' for more information
build_log.txt.gz
Description: application/gzip
