I'll change DataTypeBase to check whether the Parent property has been set at all (and output a warning message if its not set), so you should set the Parent property on the FileSet instance ...
Thanks for the report ! Gert ----- Original Message ----- From: "Scott Ford" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 30, 2003 9:39 PM Subject: [NAntC-Dev] MSITask change Hello, I found a problem with MSITask and here is the fix. Change the code on or around line 3614 in MSITask.cs from FileSet mergeSet = new FileSet(); mergeSet.Project = Project; to FileSet mergeSet = new FileSet(); mergeSet.Parent = this; mergeSet.Project = Project; Without setting Parent an exception is raised by the FileSet class during a call to Initialize. I am not sure if this is do to another bug. But I see two possibilities, either parent is required in which case it should get passed into the constructor or DataTypeBase.InitializeElement should check to see if Parent is null before using it. Thanks, -Scott ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer