* CallTarget.cs: Copy all items from target to TargetOutputs.
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks / GetFrameworkPath.cs
index f35ac557e4c79ef5578fade25bf2064881035dd1..3e03be0fbc93ac2a71a7d28c85406776e6a4d39f 100644 (file)
@@ -28,6 +28,7 @@
 #if NET_2_0
 
 using Microsoft.Build.Framework;
+using Microsoft.Build.Utilities;
 
 namespace Microsoft.Build.Tasks {
        public class GetFrameworkPath : TaskExtension {
@@ -40,7 +41,7 @@ namespace Microsoft.Build.Tasks {
 
                public override bool Execute ()
                {
-                       path = "/usr/local/bin";
+                       path = ToolLocationHelper.GetPathToDotNetFramework (TargetDotNetFrameworkVersion.Version20);
                        return true;
                }
 
@@ -56,4 +57,4 @@ namespace Microsoft.Build.Tasks {
        }
 }
 
-#endif
\ No newline at end of file
+#endif