From 2cd0a37f386bac54e28ef51a67b7fb438187b9f1 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Sun, 19 Jul 2015 12:47:22 +0930 Subject: [PATCH] trying a different approach to get this compiling using the right version of msbuild --- build.fsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/build.fsx b/build.fsx index 0c616fa7..c226326d 100644 --- a/build.fsx +++ b/build.fsx @@ -65,9 +65,19 @@ Target "FixProjects" (fun _ -> |> Fake.MSBuild.ProjectSystem.FixProjectFiles "./Octokit.Reactive/Octokit.Reactive.csproj" ) +let setParams defaults = { + defaults with + ToolsVersion = Some("12.0") + Targets = ["Build"] + Properties = + [ + "Configuration", buildMode + ] + } + Target "BuildApp" (fun _ -> - MSBuild null "Build" ["Configuration", buildMode] ["./Octokit.sln"] - |> Log "AppBuild-Output: " + build setParams "./Octokit.sln" + |> DoNothing ) Target "ConventionTests" (fun _ ->