Msbuild copy to several locations based on list of destination parameter?

前端 未结 4 1886
-上瘾入骨i
-上瘾入骨i 2021-01-12 11:04

I got a directory I want to copy to a number of locations.

Say I have

  • home.aspx

I want to copy it to

  • abc/home.aspx
4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-12 11:20

    You really are best off doing this yourself as a learning exercise, rather than treating MSBUILD as a magic box. This article from Patrick Smacchia gives you most of the techniques involved.

提交回复
热议问题