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

Posted by boris callens on Stack Overflow See other posts from Stack Overflow or by boris callens
Published on 2009-05-29T08:28:26Z Indexed on 2010/05/19 10:30 UTC
Read the original article Hit count: 317

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
  • def/home.aspx
  • ghi/home.aspx

so two questions for me:

  • How do I define the list abc, def, ghi?
  • How do I execute my Copy task with each element of this list?

© Stack Overflow or respective owner

Related posts about msbuild

Related posts about msbuild-task