[xbuild] Change default tools profile
authorMarek Safar <marek.safar@gmail.com>
Tue, 11 Nov 2014 17:49:30 +0000 (18:49 +0100)
committerMarek Safar <marek.safar@gmail.com>
Tue, 11 Nov 2014 17:49:30 +0000 (18:49 +0100)
mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Engine.cs

index 25c04e1aab33037a5e50658e47050579161581ca..ec3ddd731b08faca1c252a5973bff5327a7902b7 100644 (file)
@@ -560,11 +560,8 @@ namespace Microsoft.Build.BuildEngine {
                        get {
                                // This is used as the fall back version if the
                                // project can't find a version to use
-                               // Hard-coded to 2.0, so it allows even vs2005 projects
-                               // to build correctly, as they won't have a ToolsVersion
-                               // set!
                                return String.IsNullOrEmpty (defaultToolsVersion)
-                                               ? "2.0"
+                                               ? "4.0"
                                                : defaultToolsVersion;
                        }
                        set {