trying a different approach to get this compiling using the right version of msbuild

This commit is contained in:
Brendan Forster
2015-07-19 12:47:22 +09:30
parent cf86cb1ba1
commit 2cd0a37f38
+12 -2
View File
@@ -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 _ ->