FSharp build fails in MSBuild, but works ok in Visual Studio

前端 未结 3 924
梦如初夏
梦如初夏 2021-01-12 03:05

I have a number of projects in my solution, among which also a F# project. Everything builds fine in Visual Studio, but when I try to build it with MSBuild on my TeamCity se

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-12 03:44

    You can create the target "Clean" in your project:

    
        
    
    

    Or you can modify the command line to something like this:

    MSBuild MyProj.proj /p:Configuration=Release;Targets=Clean
    

提交回复
热议问题