FAKE: How to define MSBuild properties?

我怕爱的太早我们不能终老 提交于 2019-11-29 10:04:32

If you look at the source code, you'll see that MSBuildRelease is just a shortcut for MSBuild proper with certain predefined properties. If you need to define other properties, besides "Configuration", you can just fall back to MSBuild:

Target "Build" (fun _ ->
    !! solutionFile
    |> MSBuild binDir "Build" 
         [ 
            "Configuration", "Release"
            "Platform", "AnyCPU"
            "DeployOnBuild", "True"
            "DeployTarget", "Package"
            "OutFolder", "/what/ever"
         ]
    |> Log "Build-Output: "
)
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!