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

Reply via email to