msbuildmsbuildcommunitytasks

How can I use msbuild to download a file?


Is there a built in way to download a file to a local directory using HTTP?

I can shell out to wget or write a custom task, but I wanted to make sure there wasn't an existing way to accomplish this.

Thanks in advance!


Solution

  • MSBuild Community Tasks has a task WebDownload which seems to be what you require.