How to run a clean build for a particular project from a solution in visual studio

前端 未结 4 1420
故里飘歌
故里飘歌 2020-12-24 05:22

Suppose I need to build a whole solution (which has multiple projects) in command line, is it possible to run a clean build for a particular projects and run an incremental

4条回答
  •  猫巷女王i
    2020-12-24 05:51

    Just a small refinement for using in PowerShell:

    pathTo\MSBuild.exe pathTo\solutionfile.sln /target:"clean;Build"
    

    Source For Different Target

提交回复
热议问题