msbuildtasks
摘要 | Open source tasks for MSBuild |
---|---|
种类 | libraries |
许可证 | BSD License |
所有者 | pwelter34 |
Mission
The MSBuild Community Tasks Project is an open source project for MSBuild tasks. The goal of the project is to provide a collection of open source tasks for MSBuild.
Join Project
Please join the MSBuild Community Tasks Project and help contribute in building the tasks.
Current Community Tasks
Task | Description |
---|---|
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 |
ExecuteDDL | Executes SqlServer batch scripts. |
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. |
GetSolutionProjects | Returns a list of projects within a solution |
InstallAspNet | Installs and register script mappings for ASP.NET |
InstallAssembly | Uses InstallUtil.exe to execute the Install method on Installer classes within assemblies. |
JSCompress | Compresses JavaScript source files by removing comments and unnecessary whitespace, which typically reduces the size by half and results in faster downloads and code that is harder to read. |
Sends an email message. | |
Math.Add | Add numbers. |
Math.Divide | Divide numbers. |
Math.Modulo | Performs the modulo operation on 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. |
Prompt | Displays a message on the console and waits for user input. |
RegexMatch | Filters an item group with a regular expression |
RegexReplace | Replaces strings within items from an item group with a regular expression |
RegistryRead | Reads a value from the Registry. |
RegistryWrite | Writes a value to the Registry. |
RoboCopy | Task wrapping the Resource Kit Robocopy.exe command. |
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 |
SvnCopy | Copies a file or path within 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. |
TemplateFile | Replaces tokens in a file. |
TfsVersion | Determines the changeset in a local Team Foundation Server workspace (In progress) |
Time | Gets the current date and time. |
UninstallAssembly | Uses InstallUtil.exe to execute the Uninstall method on Installer classes within assemblies. |
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 |
WebDirectoryScriptMap | Sets an application mapping for a filename extension on an existing web directory. |
WebDirectorySetting | Reads or modifies a configuration setting on an existing web directory |
WebDownload | Downloads a resource with the specified URI to a local file. |
Xml.XmlMassUpdate | Performs multiple updates on an XML file |
Xml.XmlQuery | Reads a value or values from lines of XML |
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. |
* Items not complete or have not been released. |
Getting Started
In order to use the tasks in this project, you need to import the MSBuild.Community.Tasks.Targets files. If you installed the project with the msi installer, you can use the following.
<Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/>
Get The Source
You can get a local copy of the repository for MSBuild Community Tasks via Subversion. The following command will do the trick:
svn checkout http://msbuildtasks.tigris.org/svn/msbuildtasks/trunk msbuildtasks --username guest
Download The Latest Release
The latest binaries, source and installer for Windows can be found in this directory of the Tigris file-sharing area.
- MSBuild.Community.Tasks.msi - MSBuild Community Tasks Setup
- MSBuild.Community.Tasks.v1.2.0.306.zip - MSBuild Community Tasks v1.2.0.306 Source
Download The Latest Nightly Build
The latest test binaries and source from the automated build server.
- MSBuild.Community.Tasks.Nightly.zip - Version: 1.2.0.372 Date: 2/4/2008
Related resources
- MSBuild Tasks - http://msbuildtasks.com/default.aspx
- MSBuild Team Blog - http://blogs.msdn.com/msbuild/default.aspx
- MSBuild Reference - http://msdn2.microsoft.com/en-us/library/0k6kkbsd.aspx
- Sample Project - http://weblogs.asp.net/pwelter34/archive/2005/12/05/432384.aspx