O'Reilly logo

Inside the Microsoft® Build Engine: Using MSBuild and Team Foundation Build by William Bartholomew, Sayed Ibrahim Hashimi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Zipping Output Files, Then Uploading to an Ftp Site

In this sample, the files in the output folder are first compressed into a zip file and then uploaded to an ftp site. This sample uses these tasks from third parties: DateTime, Zip, and FtpUpload. The first task is from the MSBuild Extension Pack and the other two from the MSBuild Community Tasks. The parameters for those tasks are outlined in Table 9-1, Table 9-2, and Table 9-3.

Table 9-1. DateTime Task Parameters

Name

Description

TaskAction

Required parameter that describes what action the task should perform. Possible values are Get and GetElapsed. Get will get the current date time in the provided format. GetElapsed will return the elapsed time in the format provided.

Format

Required parameter that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required