Permalink
Browse files

Fix #1 by adding System.Xml.DLL reference

  • Loading branch information...
1 parent 63bc3e4 commit 75d07d6b363770e60c50ff290cde8eb2e5b68ac2 @palfrey committed Mar 20, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 NAntTasks/TaskDefTask.cs
@@ -262,6 +262,7 @@ protected override void ExecuteTask()
Log(Level.Verbose, "*** Custom code start ***");
string customTaskCode = "";
customTaskCode += "<script language='C#'>\n";
+ customTaskCode += "<references><include name=\"System.Xml.DLL\" /></references>\n";
customTaskCode += "<imports> <import namespace=\"System.Xml\" /> <import namespace=\"NAnt.Core.Types\" /> </imports> <code> <![CDATA[\n";
customTaskCode += GenerateCSharpCode();
customTaskCode += "]]" + "></code></script>";

0 comments on commit 75d07d6

Please sign in to comment.