No need to fill UsingTaskElement content here. Load() takes care of it.
[mono.git] / mcs / class / Microsoft.Build / Microsoft.Build.Construction / ProjectRootElement.cs
index c98539e9baf1a0c2f0773585cdb949fa9ccfd534..d7d5d77249b84d51a3addaae52efc374236b95fd 100644 (file)
@@ -543,7 +543,6 @@ namespace Microsoft.Build.Construction
                                 return def;
                         case "UsingTask":
                                 var ut = AddUsingTask (null, null, null);
-                                ut.Load (reader.ReadSubtree ());
                                 return ut;
                         case "Choose":
                                 var choose = CreateChooseElement ();