I currently have VS2013 and VS2015 installed on my machine.
By default FAKE F# Make seems to be building with VS2015.
I tried passing into my MSBuild task the VisualStudioVersion 12.0 but that didn't seem to have any effect.
I saw some articles say to change the MSBuildPath in the Fake.exe.config but I don't see the MSBuildPath in that exe.
How do I make sure it uses the MSBuild provided with Visual Studio 2012 (12.0)?
This code works for me:
let toolsVersion = "12.0"
let setParams defaults =
{ defaults with
ToolsVersion = Some(toolsVersion)
}
build setParams solutionPath
|> DoNothing
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With