Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@xamarin.com>2014-04-17 21:12:32 +0400
committerLluis Sanchez <lluis@xamarin.com>2014-04-17 21:12:32 +0400
commit1173cb1c45bc56cb702e82cd21a7c9d0cea4acbf (patch)
tree0939e5a617aeb036270013b4369924c95a0a3acc
parent4c1b13f2e7dd432e00bb501375d67a0ffb0482db (diff)
Fix build issue with F# Android projectsmonodevelop-4.2.4.35
Fixes bug #19057
-rw-r--r--main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs
index 6d4607b9aa..e2a6cfedaf 100644
--- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs
+++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs
@@ -487,6 +487,10 @@ namespace MonoDevelop.Projects.Formats.MSBuild
toolsVersion = "4.0";
}
+ // HACK: the f# targets file for android is broken and won't work with build tools v12.
+ if (file.EndsWith (".fsproj") && minToolsVersion != "12.0")
+ toolsVersion = "4.0";
+
//check the ToolsVersion we found can handle the project
Version tv, mtv;
if (Version.TryParse (toolsVersion, out tv) && Version.TryParse (minToolsVersion, out mtv) && tv < mtv) {