msbuild SLN and still get separate project outputs?

前端 未结 2 932
借酒劲吻你
借酒劲吻你 2021-02-05 21:41

I have a normal SLN file, and I\'m compiling it fine with msbuild from the command line. I do this:

C:\\slndir> msbuild /p:OutDir=C:\\slnbin\\

And it dumps every

2条回答
  •  深忆病人
    2021-02-05 22:33

    You'll have to do this "by hand". Create a master MSBUILD project file that builds the solution, then copies all the solution outputs where it wants them. This is (roughly) how Visual Studio Team Build does it.

提交回复
热议问题