Fix issue with VB projects
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks / ToolTaskExtension.cs
index 81fe72c570b12a2ea627759f3b378ec5e082c70d..6046e79b2148c8ef591d3bcf778e88b1780dba58 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-#if NET_2_0
 
 using System.Collections;
 using Microsoft.Build.Utilities;
 
 namespace Microsoft.Build.Tasks {
        public abstract class ToolTaskExtension : ToolTask {
+
+               internal ToolTaskExtension ()
+               {
+               }
        
                Hashtable bag;
 
@@ -77,6 +80,10 @@ namespace Microsoft.Build.Tasks {
                                return defaultValue;
                }
 
+               protected override bool HasLoggedErrors {
+                       get { return Log.HasLoggedErrors; }
+               }
+
                protected internal Hashtable Bag {
                        get {
                                if (bag == null)
@@ -91,4 +98,3 @@ namespace Microsoft.Build.Tasks {
        }
 }
 
-#endif
\ No newline at end of file