[xbuild] Fix building with 2.0 toolset, take 2
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks / GetFrameworkPath.cs
index 452d8c0600868d78ffa4ab7075776192c9b7f60d..3ab6979ef9a0af4ed6a55cf04f6c7b3eb97f8ee2 100644 (file)
@@ -55,6 +55,7 @@ namespace Microsoft.Build.Tasks {
                        }
                }
 
+#if NET_3_5
                [Output]
                public string FrameworkVersion11Path {
                        get {
@@ -86,6 +87,7 @@ namespace Microsoft.Build.Tasks {
                                                TargetDotNetFrameworkVersion.Version35);
                        }
                }
+#endif
 
 #if NET_4_0
                [Output]