Share via


MSBuild 延伸的 Tasks 套件

MSBuild 是微軟平台的一個重頭戲, 當然也是 Team Build 的核心...

但是 目前 Team Build 遺憾的只支援了 .NET 2.0 的 MSBuild 腳本, 幸好這是可以延伸的

幾個 資訊分享

 

https://msbuildtasks.tigris.org/    https://msbuildtasks.com/

開放源碼的主要站台,目的是 讓 MSBuild 能夠 支援更多的 Build Tasks 

目前已經支援有 (注意 打*號表示該 Task 可能會移除或上未完成.) .... no Jxxx

AppPoolController
Allows control for an application pool on a local or remote machine with IIS installed.

AppPoolCreate
Creates a new application pool on a local or remote machine.

AppPoolDelete
Deletes an existing application pool on a local or remote machine.

AssemblyInfo
Generates an AssemblyInfo file using the attributes given.

Attrib
Changes the attributes of files and/or directories

FileUpdate
Replace text in file(s) using a Regular Expression.

FtpUpload
Uploads a file using File Transfer Protocol (FTP).

FxCop
Uses FxCop to analyze managed code assemblies and reports on their design best-practice compliance.

Mail
Sends an email message.

Math.Add
Add numbers.

Math.Divide
Divide numbers.

Math.Multiple
Multiple numbers.

Math.Subtract
Subtract numbers.

Move
Moves files on the filesystem to a new location.

NDoc
Runs NDoc to create documentation.

NUnit
Runs tests using the NUnit.

RegistryRead
Reads a value from the Registry.

RegistryWrite
Writes a value to the Registry.

RegexMatch*
Filters an item group with a regular expression

RegexReplace*
Replaces strings within items from an item group with a regular expression

Script
Executes code contained within the task.

ServiceController
Task that can control a Windows service.

ServiceQuery
Task that can determine the status of a service.

Sleep
A task for sleeping for a specified period of time.

SqlExecute
Executes a SQL command

SvnCheckout
Checkout files from Subversion

SvnClient
Subversion Client

SvnCommit
Commit files to Subversion

SvnExport
Export files from Subversion

SvnInfo
Get Subversion information for a file or directory.

SvnUpdate
Update files from Subversion

SvnVersion
Get Subversion revision number of a local copy

TaskSchema
Generates a XSD schema of the MSBuild tasks in an assembly.

Time
Gets the current date and time.

Unzip
Unzip a file to a target directory.

Version
Increments a four-part version number stored in a text file

VssAdd
Adds files to a Visual SourceSafe database.

VssCheckin
Checks in files to a Visual SourceSafe database.

VssCheckout
Checks out files from a Visual SourceSafe database.

VssClean*
Removes Visual SourceSafe binding information and status files from a Visual Studio solution tree.

VssDiff
Generates a diff between two versions of an item in a Visual SourceSafe database.

VssGet
Gets the latest version of a file or project from a Visual SourceSafe database.

VssHistory
Generates an XML file containing the history of an item in a Visual SourceSafe database between two dates or labels.

VssLabel
Labels an item in a Visual SourceSafe database.

VssUndoCheckout
Cancels a checkout of an item from a Visual SourceSafe database.

WebDirectoryCreate
Creates a new web directory on a local or remote machine.

WebDirectoryDelete
Deletes a web directory on a local or remote machine

WebDownload
Downloads a resource with the specified URI to a local file.

XmlRead
Reads a value from a XML document using a XPath.

XmlWrite
Updates a XML document using a XPath.

Xslt
Merge and transform a set of xml files.

Zip
Create a zip file with the files specified.

https://blogs.msdn.com/polo_lee/archive/2006/09/26/...

MSBee.. 我先前已經 簡短的 一份 整理資料,目的在 讓 Team Build 能夠 Build .NET 1.1 版本的 Code.

 

 

PS. 說到底還是最近忙碌下的怠惰,但是幸好這兩天 有 一個 Partner Training, 逼我又把東西 整理出來