[bcl] Remove NET_3_5 defines from class libs
[mono.git] / mcs / class / Microsoft.Build.Engine / Microsoft.Build.BuildEngine / Target.cs
index 21008a5ee6b606806244548a1dc534ccdc2b0e19..dd1b9cc88c22293fb00c16bc9f1f48c6b13aa5d4 100644 (file)
@@ -77,7 +77,6 @@ namespace Microsoft.Build.BuildEngine {
                                        } else if (onErrorFound)
                                                throw new InvalidProjectFileException (
                                                        "The element <OnError> must be last under element <Target>. Found element <Error> instead.");
-#if NET_3_5
                                        else if (xe.Name == "ItemGroup") {
                                                var group = new BuildTaskItemGroup (xe, this);
                                                buildTasks.AddRange (group.Items);
@@ -86,7 +85,6 @@ namespace Microsoft.Build.BuildEngine {
                                                buildTasks.Add (new BuildTaskPropertyGroup (xe, this));
                                                continue;
                                        }
-#endif
                                        else
                                                buildTasks.Add (new BuildTask (xe, this));
                                }