MSBuild.Community.Tasks Installs and register script mappings for ASP.NET Uses the aspnet_regiis.exe tool included with the .NET Framework. Install the latest version of ASP.NET on the server: ]]> Install the latest version of ASP.NET on the server, but do not update script maps: ]]> Install the script maps for ASP.NET 2.0 on a web directory on the default website: ]]> Install the script maps for ASP.NET 1.1 on a web directory on a non-default website: ]]> Install client side script only for the latest version: ]]> Returns the fully qualified path to the executable file. The fully qualified path to the executable file. Returns a string value containing the command line arguments to pass directly to the executable file. A string value containing the command line arguments to pass directly to the executable file. When overridden in a derived class, executes the task. True if the task successfully executed; otherwise, false. Determines if the current property values can be used together when properties can be used together. The version of ASP.NET to install The default behavior is to use the latest version of ASP.NET available on the computer. Version Version11ASP.NET v1.1 Version20ASP.NET v2.0 VersionLatestThe latest version of ASP.NET available The method used to determine if ASP.NET script mappings should be applied The default behavior is to register script mappings on all sites except those with a newer version of ASP.NET. Value NeverRegister ASP.NET on the computer without updating any script mappings. IfNoneExistRegister script mappings only on for sites that do not have any existing ASP.NET script mappings (not available for ASP.NET v1.1) UnlessNewerExistRegister script mappings on all sites except those with a newer version of ASP.NET. AlwaysRegister script mappings on all sites, even if they already have a newer version of ASP.NET. When , the aspnet_client scripts will be installed. No script mappings will be updated. This cannot be if a value for or has been specified. The web application that should have its script maps updated. The path must be of the form W3SVC/[instance]/Root/[webdirectory], for example W3SVC/1/Root/SampleApp1. As a shortcut, you can specify just the web directory name, if the web directory is installed in the default website instance (W3SVC/1/Root). You should not specify a value for when specifying a path. When , script maps are applied recursively under . This property is only valid when specifying a value for . It is by default. Gets the name of the executable file to run. The name of the executable file to run. Generates an AssemblyInfo files Generates a common version file. ]]> Generates a complete version file. ]]> The default value of . The value is "AssemblyInfo.cs". Initializes a new instance of the class. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the code language. The code language. Gets or sets a value indicating whether [COMVisible]. true if [COMVisible]; otherwise, false. Gets or sets a value indicating whether [CLSCompliant]. true if [CLSCompliant]; otherwise, false. Gets or sets the GUID. The GUID. Gets or sets the assembly title. The assembly title. Gets or sets the assembly description. The assembly description. Gets or sets the assembly configuration. The assembly configuration. Gets or sets the assembly company. The assembly company. Gets or sets the assembly product. The assembly product. Gets or sets the assembly copyright. The assembly copyright. Gets or sets the assembly trademark. The assembly trademark. Gets or sets the assembly culture. The assembly culture. Gets or sets the assembly version. The assembly version. Gets or sets the assembly file version. The assembly file version. Gets or sets the assembly informational version. The assembly informational version. Gets or sets the assembly key file. Gets or sets the assembly key name. Gets or sets the assembly delay sign value. Gets or sets a value indicating whether to generate the ThisAssmebly class. Gets or sets the output file. The output file. Changes the attributes of files and/or directories Make file Readonly, Hidden and System. ]]> Clear Hidden and System attributes. ]]> Make file Normal. ]]> Executes the task. if the task ran successfully; otherwise . Gets or sets the list of files to change attributes on. The files to change attributes on. Gets or sets the list of directories to change attributes on. The directories to change attributes on. Gets or sets file's archive status. true if archive; otherwise, false. Gets or sets a value indicating file is compressed. true if compressed; otherwise, false. Gets or sets a value indicating file is encrypted. true if encrypted; otherwise, false. Gets or sets a value indicating file is hidden, and thus is not included in an ordinary directory listing. true if hidden; otherwise, false. Gets or sets a value indicating file is normal and has no other attributes set. true if normal; otherwise, false. Gets or sets a value indicating file is read-only. true if read-only; otherwise, false. Gets or sets a value indicating file is a system file. true if system; otherwise, false. The list of the commans available to the GacUtil Task Install the list of assemblies into the GAC. Uninstall the list of assembly names from the GAC. MSBuild task to install and uninstall asseblies into the GAC Install a dll into the GAC. ]]> Uninstall a dll from the GAC. ]]> Returns the fully qualified path to the executable file. The fully qualified path to the executable file. Logs the starting point of the run to all registered loggers. A descriptive message to provide loggers, usually the command line and switches. Returns a string value containing the command line arguments to pass directly to the executable file. A string value containing the command line arguments to pass directly to the executable file. Runs the exectuable file with the specified task parameters. true if the task runs successfully; otherwise, false. Gets or sets the command. The command. Gets or sets a value indicating whether to force reinstall of an assembly. true if force; otherwise, false. Gets or sets the assembly. The assembly. Gets the name of the executable file to run. The name of the executable file to run. Gets the with which to log errors. The with which to log errors. Compresses JavaScript source by removing comments and unnecessary whitespace. It typically reduces the size of the script by half, resulting in faster downloads and code that is harder to read. This task does not change the behavior of the program that it is compressing. The resulting code will be harder to debug as well as harder to read. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the files to source-compress. Encoding to use to read and write files. Gets the files that were successfully source-compressed. Copy a file or folder in Subversion This is most useful for automatically tagging your source code during a build. You can create a tag by copying a path from one server location to another. Create a tag of the trunk with the current Cruise Control build number: ]]> Subversion client base class Generates the SVN command. Generates the SVN arguments. Returns a string value containing the command line arguments to pass directly to the executable file. A string value containing the command line arguments to pass directly to the executable file. Indicates whether all task paratmeters are valid. true if all task parameters are valid; otherwise, false. Logs the events from text output. The single line. The message importance. Returns the fully qualified path to the executable file. The fully qualified path to the executable file. Logs the starting point of the run to all registered loggers. A descriptive message to provide loggers, usually the command line and switches. Gets or sets the command. The command. Gets or sets the arguments. The arguments. Gets or sets the username. The username. Gets or sets the password. The password. Gets or sets the verbose. The verbose. Gets or sets the force. The force. Gets or sets the message. The message. Gets or sets the repository path. The repository path. Gets or sets the local path. The local path. Gets or sets the targets. The targets. Gets or sets the revision. The revision. Gets or sets the command switchs. The command switchs. Gets the with which to log errors. The with which to log errors. Gets the name of the executable file to run. The name of the executable file to run. Initializes a new instance of the class. Generates the SVN command. Indicates whether all task paratmeters are valid. true if all task parameters are valid; otherwise, false. The path of the source file or folder that should be copied The path to which the SourcePath should be copied Describes the behavior of a Team Foundation Server Retrieves the latest changeset ID associated with a path A path on the local filesystem Credentials used to authenticate against the serer Handles all communication with the Team Foundation Server Creates an instace of the TeamFoundationServer class The local file path containing the TFS libraries. null if TFS is in the GAC. Retrieves the latest changeset ID associated with a path A path on the local filesystem Credentials used to authenticate against the serer Exceptions returned by the Team Foundation Server Creates a new instance of the exception Creates a new instance of the exception A description of the exception Determines the changeset in a local Team Foundation Server workspace Runs the exectuable file with the specified task parameters. true if the task runs successfully; otherwise, false. The user to authenticate on the server Leave empty to use the credentials of the current user. The password for the user to authenticate on the server Leave empty to use the credentials of the current user. The domain of the user to authenticate on the server Leave empty to use the credentials of the current user. Path to local working copy. The latest changeset ID in the local path The location of the Team Foundation Server client assemblies. Leave empty when the client is installed in the Global Assembly Cache. Performs multiple updates on an XML file XmlMassUpdate allows to to specify multiple changes to make to an XML file (the . By default, the changes are applied to the , but you can create a new file by providing the attribute. The change instructions are specified using XML in the . If the does not mirror the structure of the exactly, you can specify the and XPath expressions which determine how the files should be mapped to each other. Any element within the will find the corresponding element in the . If it does not exist, it will be created with all of its attributes. If it does exist, the attributes will be added or updated as specified. Any attribute declared within the will not be copied to the modified file. Valid attributes are key and action. The key attribute allows you to define an attribute to use as the identifying attribute when you only want to update a single element, and multiple elements with the same name exist. You can also use the action="remove" attribute to specify that an element should be deleted instead of updated. These examples will demonstrate how to make multiple updates to a XML file named web.config. It looks like: ]]> You can update the file using instructions from an external file (specified as the ): ]]> The is named changes.xml and contains: ]]> You can also provide the update instructions within the MSBuild project file itself. It takes advantage of the MSBuild ProjectExtensions element which allows you to add XML to a project file that will be ignored by the MSBuild engine. This example also demonstrates how to use : ]]> The following example demonstrates how to deal with "keyed" elements. When you need to update an element, and multiple elements exist with the same name, it must be be differentied by one of its attributes. You designate the differentiating attribute using the "key" attribute declared in the . If an element matching the keyed attribute is not found, a new element will be created (DefaultSort in the example). This example also demonstrates creating a new file with the merged changes instead of modifying the original file. ]]> Using a changes.xml file with the following contents: ]]> Use a changes.xml file with the following contents to demonstrate how to remove an element from the updated file: ]]> You can also specify the changes to apply from within the target document. By making use of the property, you can store multiple sets of changes to apply based on runtime conditions. Consider the following source web.config file: ]]> You could use the following task definition, which relies on a property "TargetEnvironment" to determine which set of changes to apply: ]]> You will need to provide a value of "test" or "prod" to the TargetEnvironment property. The property can be defined in a PropertyGroup section of the MSBuild file, or passed as a command-line parameter. When overridden in a derived class, executes the task. True if the task successfully executed; otherwise, false. Returns as an . This method is not intended for use by consumers. It is exposed for testing purposes. Returns as an . This method is not intended for use by consumers. It is exposed for testing purposes. Creates from the specified The XML to save to a file This method is not intended for use by consumers. It is exposed for testing purposes. The original file whose content is to be updated This task is currently under construction and not necessarily feature complete. The file containing the list of updates to perform The file created after performing the updates The XPath expression used to locate the list of substitutions to perform When not specified, the default is the document root: / When there is a set of elements with the same name, and you want to update a single element which can be identified by one of its attributes, you need to include an attribute named 'key' in the namespace urn:msbuildcommunitytasks-xmlmassupdate. The value of the attribute is the name of the attribute that should be used as the unique identifier. The XPath expression identifying root node that substitions are relative to When not specified, the default is the document root: / A collection of prefix=namespace definitions used to query the XML documents Defining multiple namespaces: />]]> The full path of the file containing content updated by the task The full path of the file containing substitutions used by the task The full path of the file containing the results of the task The namespace used for XmlMassUpdate pre-defined attributes Evaluates to: urn:msbuildcommunitytasks-xmlmassupdate Attributes decorated with this namespace are used to control how a substitutions element or attribute is handled during the update. For example, the key attribute is used to identify the attribute on an element that uniquely identifies the element in a set. Sets an application mapping for a filename extension on an existing web directory. Map the .axd extension to the lastest version of ASP.NET: ]]> Map GET requests to the .rss extension to a specific executable: ]]> Base task for any IIS-related task. Stores the base logic for gathering the IIS version and server and port checking. This base task also stores common properties for other related tasks. IIS version. Gets the IIS version. The for IIS. Gets the remote machine OS version. Returns a of the operating system. Verifies that the IIS root exists based on the and . Helper method for that verifies the server port exists. The site to verify the port. Boolean value indicating the status of the port check. Gets or sets the name of the server. The default value is 'localhost'. The name of the server. Gets or sets the server port. The server port. Gets or sets the IIS server path. Is in the form 'IIS://localhost/W3SVC/1/Root'. The IIS server path. Gets or sets the application path. Is in the form '/LM/W3SVC/1/Root'. The application path. Gets or sets the IIS application pool path. Is in the form 'IIS://localhost/W3SVC/AppPools'. The IIS application pool path. Gets or sets the username for the account the task will run under. This property is needed if you specified a for a remote machine. The username of the account. Gets or sets the password for the account the task will run under. This property is needed if you specified a for a remote machine. The password of the account. Defines the possible IIS versions supported by the task. IIS version 4.x IIS version 5.x IIS version 6.x Defines the possible application pool actions to be performed. Recycles an application pool. Stops and restarts the application pool. Starts the application pool. Stops the application pool. Defines the current application pool state. The application pool is starting. The application pool has started. The application pool is stopping. The application pool has stopped. When overridden in a derived class, executes the task. True if the task successfully executed; otherwise, false. Gets or sets the name of the virtual directory. The name of the virtual directory. The filename extension that will be mapped to an executable. The full path to the executable used to respond to requests for a Uri ending with This property is required when is false (the default). Indicates whether should be mapped to the ASP.NET runtime. When true, is set to aspnet_isapi.dll in the installation folder of the latest version of the .NET Framework. A comma-separated list of the HTTP verbs to include in the application mapping. The default behavior (when this property is empty or unspecified) is to map all verbs. A semi-colon-separated list will also be recognized, allowing you to use an MSBuild Item. Set to true when you want the application to run in a directory without Execute permissions. Set to true to instruct the Web server to verify the existence of the requested script file and to ensure that the requesting user has access permission for that script file. Reads and modifies a web directory configuration setting. Display the file system path of the MyWeb web directory: ]]> Set the default document for the MyWeb directory to Default.aspx: ]]> When overridden in a derived class, executes the task. True if the task successfully executed; otherwise, false. Gets or sets the name of the virtual directory. The name of the virtual directory. Gets or sets the configuration setting to read or modify. Gets or sets the value of on the web directory A wrapper for the ILMerge tool. The ILMerge tool itself must be installed separately. It is available here. The command line options "/wildcards" and "/lib" of ILMerge are not supported, because MSBuild is in charge of expanding wildcards for item groups. This example merges two assemblies A.dll and B.dll into one: $(testDir)\ilmergetest.dll $(testDir)\keypair.snk $(testDir)\ExcludeTypes.txt $(testDir)\ilmergetest.log ]]> Gets the standard installation path of ILMerge.exe. If ILMerge is not installed at its standard installation path, provide its location to . Returns [ProgramFiles]\Microsoft\ILMerge.exe. Returns a string value containing the command line arguments to pass directly to the executable file. Returns a string value containing the command line arguments to pass directly to the executable file. Gets or sets the names of public types to be renamed when they are duplicates. Set to an empty item group to allow all public types to be renamed. Don't provide this parameter if no duplicates of public types are allowed. Corresponds to command line option "/allowDup". The default value is null. Gets or sets the flag to treat an assembly with a zero PeKind flag (this is the value of the field listed as .corflags in the Manifest) as if it was ILonly. Corresponds to command line option "/zeroPeKind". The default value is false. Gets or sets the attribute assembly from whre to get all of the assembly-level attributes such as Culture, Version, etc. It will also be used to get the Win32 Resources from. This property is mutually exclusive with . When not specified, then the Win32 Resources from the primary assembly are copied over into the target assembly. Corresponds to command line option "/attr". The default value is null. Gets or sets the flag to indicate whether to augment the list of input assemblies to its "transitive closure". An assembly is considered part of the transitive closure if it is referenced, either directly or indirectly, from one of the originally specified input assemblies and it has an external reference to one of the input assemblies, or one of the assemblies that has such a reference. Corresponds to command line option "/closed". The default value is false. Gets or sets the flag to indicate whether to copy the assembly level attributes of each input assembly over into the target assembly. Any duplicate attribute overwrites a previously copied attribute. The input assemblies are processed in the order they are specified. This parameter is mutually exclusive with . Corresponds to command line option "/copyattrs". The default value is false. Gets or sets the flag to indicate whether to preserve any .pdb files that are found for the input assemblies into a .pdb file for the target assembly. Corresponds to command line option "/ndebug". The default value is true. Gets or sets the flag to indicate whether the target assembly will be delay signed. This property can be set only in conjunction with . Corresponds to command line option "/delaysign". The default value is false. Gets or sets the file that will be used to identify types that are not to have their visibility modified. If an empty item group is provided, then all types in any assembly other than the primary assembly are made non-public. Omit this parameter to prevent ILMerge from modifying the visibility of any types. The contents of the file should be one per line. The regular expressions are matched against each type's full name, e.g., System.Collections.IList. If the match fails, it is tried again with the assembly name (surrounded by square brackets) prepended to the type name. Thus, the pattern \[A\].* excludes all types in assembly A from being made non-public. The pattern N.T will match all types named T in the namespace named N no matter what assembly they are defined in. Corresponds to command line option "/internalize". The default value is null. Gets or sets the input assemblies to merge. Gets or sets the .snk file to sign the target assembly. Can be used with . Corresponds to command line option "/keyfile". The default value is null. Gets or sets a log file to write log messages to. If an empty item group is provided, then log messages are writte to . Corresponds to command line option "/log". The default value is null. Gets or sets the target assembly. Corresponds to command line option "/out". Gets or sets the flag to indicate whether external assembly references in the manifest of the target assembly will use public keys (false) or public key tokens (true). Corresponds to command line option "/publickeytokens". The default value is false. Gets or sets the .NET framework version for the target assembly. Valid values are "v1", "v1.1", "v2". Corresponds to the first part of command line option "/targetplatform". The default value is null. Gets or sets the directory in which mscorlib.dll is to be found. Can only be used in conjunction with . Corresponds to the second part of command line option "/targetplatform". The default value is null. Gets or sets the indicator whether the target assembly is created as a library (Dll), a console application (Exe) or as a Windows application (WinExe). Corresponds to command line option "/target". The default value is the same kind as that of the primary assembly. Gets or sets the version number of the target assembly. The parameter should look like 6.2.1.3. Corresponds to command line option "/ver". The default value is null. Gets or sets the flag to indicate whether to merge XML documentation files into one for the target assembly. Corresponds to command line option "/xmldocs". The default value is false. Gets the name of the executable file to run. Installs assemblies. Uses InstallUtil.exe to execute the Install method of Installer classes contained within specified assemblies. Install multiple assemblies by specifying the file names: ]]> Install an assembly using the assembly name. Also disable the log file by setting it to a single space: ]]> You can easily chain an install to the result of a build: ]]> Returns the fully qualified path to the executable file. The fully qualified path to the executable file. Returns a string value containing the command line arguments to pass directly to the executable file. A string value containing the command line arguments to pass directly to the executable file. The assemblies to process, identified by their assembly name. The assemblies to process, identified by their filename. The file to write installation progress to. Set to a single space to disable logging to a file. If not specified, the default is to log to [assemblyname].installLog If an exception occurs at any point during installation, the call stack will be printed to the log. Determines whether assemblies are installed or uninstalled. Gets the name of the executable file to run. The name of the executable file to run. Uninstalls assemblies. Uses InstallUtil.exe to execute the Uninstall method of Installer classes contained within specified assemblies. Uninstall multiple assemblies by specifying the file names: ]]> Unnstall an assembly using the assembly name. Also disable the log file by setting it to a single space: ]]> Determines whether assemblies are installed or uninstalled. Performs the modulo operation on numbers. The modulo operation finds the remainder of the division of one number by another. When the second number (modulus) is a fractional value, the result can be a fractional value. Equivalent to the % operator in C# or the Mod operator in Visual Basic. Numbers evenly divide: ]]> Above example will display: 12 modulo 4 = 0 Division on the numbers produces a remainder: ]]> Above example will display: 14 modulo 4 = 2 Modulus is a fractional value: ]]> Above example will display: 12 modulo 3.5 = 1.5 Math task base class When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Strings array to decimal array. The numbers. Gets or sets the numbers to work with. The numbers. Gets or sets the result. The result. Gets or sets the numeric format. The numeric format. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Displays a message on the console and waits for user input. It is important to note that the message is not written to the MSBuild logger, it is always written to the console, no matter which logger is configured. This task requires user input from the console. Do not use this task for projects that will be executed unattended. It is recommended that you always add a Condtion so that this task is only enabled when a custom property is set through the command line. This will ensure that the other users do not attempt to execute the task in unattended mode. Pause the build if the interactive property is set: ]]> Obtain user input during the build: (Note: in most cases, it is recommended that users instead provide custom values to your build through the /property argument of msbuild.exe) ]]> When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. The message to display in the console. The text entered at the console. Base class for Regex tasks Handles public properties for Input, Expression, Options and Output Regex expression Input, list of items to perform the regex on Regex options as strings corresponding to the RegexOptions enum: Compiled CultureInvariant ECMAScript ExplicitCapture IgnoreCase IgnorePatternWhitespace Multiline None RightToLeft Singleline Results of the Regex transformation. Options converted to RegexOptions enum Task to filter an Input list with a Regex expression. Output list contains items from Input list that matched given expression Matches from TestGroup those names ending in a, b or c ]]> Performs the Match task if the task ran successfully; otherwise . Task to replace portions of strings within the Input list Output list contains all the elements of the Input list after performing the Regex Replace. 1st example replaces first occurance of "foo." with empty string 2nd example replaces occurance of "foo." after character 6 with "oop." string ]]> Performs the Replace task if the task ran successfully; otherwise . String replacing matching expression strings in input list. If left empty matches in the input list are removed (replaced with empty string) Number of matches to allow on each input item. -1 indicates to perform matches on all matches within input item Position within the input item to start matching Different ways to specify the assembly in a UsingTask element. Assembly file name (Default): <UsingTask AssemblyFile="foo.dll" /> Assembly location: <UsingTask AssemblyName="foo" /> Assembly Name: <UsingTask AssemblyFile="bin\debug\foo.dll" /> Assembly fully qualified name: <UsingTask AssemblyName="foo.dll,version ...." /> A Task that generates a XSD schema of the tasks in an assembly. Creates schema for MSBuild Community Task project ]]> When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the list of path to analyse. Gets or sets the output path for the generated files. Gets the list of path to the generated XSD schema. Gets or sets a value indicating if the task list (using UsingTask) has to be genereted. Gets or sets a value indicating how the assembly is specified in the UsingTask element. Gets or sets a value indicating wheter documentation should be ignored even if available (Default is false). Gets the path to the task list if it was generated. Gets or sets a value indicating if the MsBuild schema inclusing should be ignored Gets or sets a list of included schemas Task to get paths to projects and project names from VS2005 solution file Returns project name and relative path from test solution ]]> Perform task true on success Output list contains TaskItems of project filenames contained within the given solution. Metadata tag "ProjectName" contains name of project. Name of Solution to get Projects from MSBuild task to execute DDL and SQL statements. Requires the the SQL Server libraries and dynamically loads the required Microsoft.SqlServer.ConnectionInfo assembly. Server=localhost;Integrated Security=True ]]> Executes the task. true if the task successfully executed; otherwise, false. The connection string Gets or sets the DDL/SQL files. The assemblies. Output the return count/values Gets or sets the batch delimter string. Default is "GO" for T-SQL. The kind of Subversion node. The names match the text output by "svn info". Node is a file Node is a directory Unknown node type The Subversion schedule type. Normal schedule Unknown schedule. Run the "svn info" command and parse the output This example will determine the Subversion repository root for a working directory and print it out. ]]> You can retrieve Subversion information for a or . If you do not provide a value for or , the current directory is assumed. Initializes a new instance of the class. Reset all instance variables to their default (unset) state. Execute the task. true if execution is successful, false if not. Logs the events from text output. The single line. The message importance. Return the repository root or null if not set by Subversion. Return the repository UUID value from Subversion. The Subversion node kind. The author who last changed this node. The last changed revision number. The date this node was last changed. The Subversion schedule type. MSBuild task that replaces tokens in a template file and writes out a new file. MSBuild Community Tasks ]]> Tokens in the template file are formatted using ${var} syntax and names are not case-sensitive, so ${Token} and ${TOKEN} are equivalent. Meta data tag used for token replacement Default constructor. Creates a new TemplateFile task. Executes the task. Success or failure of the task. The token replaced template file. The full path to the output file name. If no filename is specified (the default) the output file will be the Template filename with a .out extension. The template file used. Tokens with values of ${Name} are replaced by name. List of tokens to replace in the template. Token name is taken from the TaskItem.ItemSpec and the replacement value comes from the ReplacementValue metadata of the item. Gets the current date and time. See DateTimeFormatInfo for the syntax of the format string. Using the Time task to get the Month, Day, Year, Hour, Minute, and Second: ]]> Set property "BuildDate" to the current date and time: ]]> When overridden in a derived class, executes the task. True if the task successfully executed; otherwise, false. Gets or sets the format string for output parameter . See DateTimeFormatInfo for the syntax of the format string. Gets the month component of the date represented by this instance. Gets the day of the month represented by this instance. Gets the year component of the date represented by this instance. Gets the hour component of the date represented by this instance. Gets the minute component of the date represented by this instance. Gets the seconds component of the date represented by this instance. Gets the milliseconds component of the date represented by this instance. Gets the number of ticks that represent the date and time of this instance. Gets or sets a value that indicates whether the time represented by this instance is based on local time, Coordinated Universal Time (UTC), or neither. Possible values are: Local (default), Utc, Unspecified Gets the time of day for this instance. Gets the day of the year represented by this instance. Gets the day of the week represented by this instance. Gets the value of this instance to its equivalent string representation. If input parameter is provided, the value is formatted according to it. Gets the value of this instance to its equivalent short date string representation. Gets the value of this instance to its equivalent long date string representation. Gets the value of this instance to its equivalent short time string representation. Gets the value of this instance to its equivalent long time string representation. Gets the internal time value. Represents a single XmlNode selected using an XML task. Initializes a new instance of an XmlNodeTaskItem The selected XmlNode The prefix to attach to the reserved metadata properties. Returns a string representation of the XmlNodeTaskItem. Returns the ItemSpec when the XmlNodeTaskItem is explicitly cast as a The XmlNodeTaskItem Reads a value or values from lines of XML Use the Lines property (possibly populated from the the ReadLinesFromFile task) if you want to perform multiple queries against some XML in memory. Use the XmlFileName property to query a large XML file. An XPath expression can return multiple nodes in the collection. The number of nodes returned is availabe in the output TaskParameter. When the XPath expression resolves to an element node, all of the attributes of the element are added as metadata to the returned . In addition, some reserved metadata properties are available on all element nodes. They are all prefixed with the , which is a single underscore (_) by default. Reserved Property _value The value of the node (non-xml text between the opening and closing tags). _innerXml The markup representing the children of this node. _outerXml The markup representing this node and all its child nodes. Read an attribute value by selecting it with an XPath expression: ]]> Read attribute values (from an XML file) using item metadata on a selected element node: ]]> Read an element value (requires use of the reserved metadata property "_value"): ]]> When overridden in a derived class, executes the task. True if the task successfully executed; otherwise, false. The lines of a valid XML document Gets or sets the name of an XML file to query The full path of the XML file. A collection of prefix=namespace definitions used to query the XML document Defining multiple namespaces: />]]> The query used to identify the values in the XML document The values selected by The number of values returned in The string that is prepended to all reserved metadata properties. The default value is a single underscore: '_' All attributes of an element node are added as metadata to the returned ITaskItem, so this property can be used to avoid clashes with the reserved properties. For example, if you selected the following node: ]]> the _value attribute would clash with the value reserved property, when using the default prefix. If you set the ReservedMetaDataPrefix to another value (two underscores '__') there would be no clash. You would be able to select the attribute using %(item._value) and the value of the node using %(item.__value). Provides methods used by all of the XML tasks Concatenates the string value of a list of ITaskItems into a single string The items to concatenate A single string containing the values from all of the items Uses the prefix=namespace definitions in to populate The to populate. The prefix=namespace definitions. A task to merge and transform a set of xml files.

The xml files of parameter are merged into one xml document, wrapped with a root tag

If only one input file is provided, merging and wrapping can be omitted by setting to an empty string.

The root tag can be given any number of attributes by providing a list of semicolon-delimited name/value pairs to parameter . For example: RootAttributes="foo=bar;date=$(buildDate)"

Parameter defaults to one attribute with a name specified by , and a local time stamp as value. To suppress the default value, an empty parameter RootAttributes="" must be specified explicitely.

The xsl transformation file specified by parameter is applied on the input.

The can be given any number of metadata, which will be handed to the xsl transformation as parameters.

The output is written to the file specified by parameter .

This example for generating a report from a set of NUnit xml results: $(project) $(configuration) $(MSBuildProjectFullPath) $(MSBuildBinPath) $(MSBuildCommunityTasksPath)\$(nunitReportXsl) ]]> This examples shows all available task attributes: ]]>
The name of the default attribute of the . The value is "created", and the attribute will contain a local time stamp. When overridden in a derived class, executes the task. Returns true if the task successfully executed; otherwise, false. Gets or sets the xml input files. Gets or sets the xml tag name of the root tag wrapped around the merged xml input files. Gets or sets the list of semicolon-delimited name/value pairs of the . For example: RootAttributes="foo=bar;date=$(buildDate)" Gets or sets the path of the xsl transformation file to apply. The property can be given any number of metadata, which will be handed to the xsl transformation as parameters. Gets or sets the path of the output file. Replace text in file(s) using a Regular Expression. Search for a version number and update the revision. ]]> Initializes a new instance of the class. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the files to update. The files. Gets or sets the regex. The regex. Gets or sets a value specifies case-insensitive matching. . true if [ignore case]; otherwise, false. Gets or sets a value changing the meaning of ^ and $ so they match at the beginning and end, respectively, of any line, and not just the beginning and end of the entire string. true if multiline; otherwise, false. Gets or sets a value changing the meaning of the dot (.) so it matches every character (instead of every character except \n). true if singleline; otherwise, false. Gets or sets the maximum number of times the replacement can occur. The replacement count. Gets or sets the replacement text. The replacement text. The character encoding used to read and write the file. Any value returned by is valid input. The default is utf-8 Uses FxCop to analyse managed code assemblies and reports on their design best-practice compliance. Shows how to analyse an assembly and use an XSLT stylesheet to present the report as an HTML file. If the static anlysis fails, the build does not stop - this is controlled with the FailOnError parameter. ]]> If you include the MSBuild.Community.Tasks.Targets file in you build project, the ItemGroup @(FxCopRuleAssemblies) is defined with the standard FxCop Rules Assemblies. Executes the task. if the task ran successfully; otherwise . Returns the fully qualified path to the executable file. The fully qualified path to the executable file. Returns a string value containing the command line arguments to pass directly to the executable file. A string value containing the command line arguments to pass directly to the executable file. Indicates whether all task paratmeters are valid. true if all task parameters are valid; otherwise, false Returns the directory in which to run the executable file. The directory in which to run the executable file, or a null reference (Nothing in Visual Basic) if the executable file should be run in the current directory. Applies the XSL transformation specified in /outXsl to the analysis report before saving the file. Directs analysis output to the console or to the Output window in Visual Studio .NET. By default, the XSL file FxCopConsoleOutput.xsl is applied to the output before it is displayed. Specifies additional directories to search for assembly dependencies. FxCopCmd always searches the target assembly directory and the current working directory. Specifies the target assembly to analyze. Specifies the XSL or XSLT file that contains a transformation to be applied to the analysis output before it is displayed in the console. Specifies the name of an analysis report or project file to import. Any messages in the imported file that are marked as excluded are not included in the analysis results. Specifies the filename(s) of FxCop rule assemblies The list of rules to run Rule names should be provided using the format Library#RuleNumber. For example Microsoft.Design#CA1012 Place a single hyphen (-) in front of the rule name to exclude it. For example -Microsoft.Performance#CA1805 Specifies the file name for the analysis report. Specifies the XSL or XSLT file that is referenced by the xml-stylesheet processing instruction in the analysis report. Specifies the location of the version of Mscorlib.dll that was used when building the target assemblies if this version is not installed on the computer running FxCopCmd. Specifies the filename of FxCop project file. Includes a summary report with the informational messages returned by FxCopCmd. Comma-separated list of type names to analyze. This option disables analysis of assemblies, namespaces, and resources; only the specified types and their members are included in the analysis. Use the wildcard character '*' at the end of the name to select multiple types. Saves the results of the analysis in the project file. Gets or sets the working directory. The working directory. The directory in which to run the executable file, or a null reference (Nothing in Visual Basic) if the executable file should be run in the current directory. Gets or sets a value indicating whether the output is verbose. true if verbose; otherwise, false. Gets or sets a value indicating whether the build should fail if static code analysis reports errors. Defaults to true. true if verbose; otherwise, false. Gets the name of the executable file to run. The name of the executable file to run. Defines the actions that can be performed on a service. Starts a service. Stops a service. Restarts a service. Pauses a running service. Continues a paused service. Task that can control a Windows service. Restart Web Server ]]> Task that can determine the status of a specified service on a target server. Check status of SQL Server ]]> The unknown returned when the service does not exist. The value is "Unknown". Initializes a new instance of the class. Executes the task. if the task ran successfully; otherwise . Gets the service controller. Gets or sets the name of the service. The name of the service. Gets or sets the name of the machine. The name of the machine. Gets or sets the status. The status of the service. Gets a value indicating whether the service can be paused and resumed. true if this instance can pause and continue; otherwise, false. Gets a value indicating whether the service should be notified when the system is shutting down. true if this instance can shutdown; otherwise, false. Gets a value indicating whether the service can be stopped after it has started. true if this instance can stop; otherwise, false. Gets a friendly name for the service. The name of the display. Gets a value indicating whether the service exists. true if the service exists; otherwise, false. Initializes a new instance of the class. Executes the task. if the task ran successfully; otherwise . Gets or sets the to perform on the service. The action to perform on the service. Gets or sets the timeout for the command. The default is one minute. The timeout for the command. Task that can strip the source control information from a Visual Studio Solution and subprojects. This task is useful if you keep an archive of the source tree at each build milestone, because it's irritating to have to remove source control binding manually once you've copied a version of the code from your archive. Executes the task. if the task ran successfully; otherwise . Uploads a file using File Transfer Protocol (FTP). Upload a file. ]]> Initializes a new instance of the class. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the local file to upload. The local file. Gets or sets the remote URI to upload. The remote URI. Gets or sets the username. The username. Gets or sets the password. The password. Gets or sets the behavior of a client application's data transfer process. true if [use passive]; otherwise, false. Creates a new application pool on a local or remote machine with IIS installed. The default is to create the new application pool on the local machine. If connecting to a remote machine, you can specify the and for the task to run under. Create a new application pool on the local machine. ]]> When overridden in a derived class, executes the task. True if the task successfully executed; otherwise, false. Gets or sets the name of the application pool. The name of the application pool. The AppPoolAutoStart property indicates to the World Wide Web Publishing Service (WWW service) to automatically start an application pool when the application pool is created or when IIS is started, if the value of this property is set to true. Value indicating if AppPoolAutoStart is enabled or disabled. The AppPoolIdentityType property allows application pools to run as a specific user account: 0 - The application pool runs as NT AUTHORITY\SYSTEM. 1 - The application pool runs as NT AUTHORITY\LOCAL SERVICE. 2 - The application pool runs as NT AUTHORITY\NETWORK SERVICE. 3 - The application pool runs as a specific user account, defined by the property. Value indicating the application pool identity type. The AppPoolQueueLength property indicates to the Universal Listener how many requests to queue up for an application pool before rejecting future requests. When the limit for this property is exceeded, IIS rejects the additional requests with a 503 error. Value indicating the application pool queue length. The AutoShutdownAppPoolExe property specifies an executable to run when the World Wide Web Publishing Service (WWW service) shuts down an application pool for rapid fail protection. You can use the property to send parameters to the executable. Value indicating the application pool auto shutdown executable. The AutoShutdownAppPoolParams property specifies any command-line parameters for the executable that is specified in the AutoShutdownAppPoolExe property. You can use these two properties in the following way to send e-mail, for example, when the World Wide Web Publishing Service (WWW service) shuts down an application pool for rapid fail protection: AutoShutdownAppPoolExe = "C:\LogAndSendMail.bat" AutoShutdownAppPoolParams = "-AppPoolName %1%" where %1% represents the application pool name. Value indicating the parameters for the application pool auto shutdown executable. The CPUAction property configures the action(s) that IIS takes when Microsoft Windows NT ® job objects run. Only one Windows NT job object exists per application pool, therefore the CPUAction property is configured on a per application pool basis. Possible values: 0 - No action is taken except that a warning is written to the event log when the CPU limit is exceeded. 1 - Application pool worker processes that exceed their CPU limit will be forced to shut down. Value indicating the CPU action. The CPULimit property configures the maximum percentage of CPU resources that worker processes in an application pool are allowed to consume over a period of time, as indicated by the property. Set this property by specifying a percentage of CPU usage, multiplied by 1000. For example, if you want the CPU usage limit to be 50%, set CPULimit to 50,000. Value indicating the CPU limit. The CPUResetInterval property specifies the reset period (in minutes) for CPU monitoring and throttling limits on the application pool. When the number of minutes elapsed since the last process accounting reset equals the number specified by this property, IIS will reset the CPU timers for both the logging and limit intervals. Setting the value of this property to 0 disables CPU monitoring. Value indicating the CPU reset interval. The DisallowOverlappingRotation property specifies whether or not the World Wide Web Publishing Service (WWW Service) should start up another worker process to replace the existing worker process while it is shutting down. Value indicating the DisallowOverlappingRotation. The DisallowRotationOnConfigChange property specifies whether or not the World Wide Web Publishing Service (WWW Service) should rotate worker processes in an application pool when the configuration has changed. This means that the worker processes will not pick up application pool changes to values passed to the worker process, such as and . Value indicating the DisallowRotationOnConfigChange. The IdleTimeout property specifies how long (in minutes) a worker process should run idle if no new requests are received and the worker process is not processing requests. After the allotted time passes, the worker process should request to be shut down by the World Wide Web Publishing Service (WWW Service). Value indicating the idle timeout. The LoadBalancerCapabilities property specifies behavior when a service is unavailable. A setting of 1 terminates the connection. A setting of 2 sends error code 503. Value indicating the load balancer capabilities. The LogEventOnRecycle property specifies that IIS should log an event when an application pool is recycled. Application pools recycle for a variety of reasons. In order for IIS to log the event, the LogEventOnRecycle property must have a bit set corresponding to the reason for the recycle. Value indicating which recycle events to log. The LogonMethod property contains an integer that specifies the logon method for cleartext logons. Valid settings are: 0 for interactive logon. 1 for batch logon. 2 for network logon. 3 for cleartext logon. Value indicating the logon method. The MaxProcesses property determines the maximum number of worker processes an application pool allows to service requests for an application pool. This property cannot be set to 0 because there are no unmanaged pools. Value indicating the maximum number of worker processes allowed by the application pool. The OrphanActionExe property specifies an executable to run when the World Wide Web Publishing Service (WWW service) orphans a worker process. You can use the property to send parameters to the executable. The value for the orphan action executable. The OrphanActionParams property specifies command-line parameters for the executable specified by the property. Value indicating the orphan action parameters. The OrphanWorkerProcess property, when set to true, notifies the World Wide Web Publishing Service (WWW Service) not to terminate a worker process that fails to respond to pings, but to instead orphan the worker process in the application pool if the worker process suffers fatal errors. Value indicating the orphan worker process. The PeriodicRestartMemory property specifies the amount of virtual memory (in KB) that a worker process can use before the worker process recycles. The maximum value supported for this property is 4,294,967 KB. Value indicating the amount of memory. The PeriodicRestartPrivateMemory property specifies the amount of private memory (in KB) that a worker process can use before the worker process recycles. The maximum value supported for this property is 4,294,967 KB. Value indicating the amount of memory. The PeriodicRestartRequests property indicates the number of requests the OOP application should process, after which it is recycled. Value indicating the number of requests. The PeriodicRestartSchedule property specifies the time (in 24 hour format) that the application will be rotated. Each time is in local time and is specified in the following format: PeriodicRestartSchedule="hh:mm,hh:mm,hh:mm" Value indicating the restart schedule. The PeriodicRestartTime property specifies the period of time, in minutes, after which IIS rotates an isolated OOP application. Setting the value of this property to 0 disables the property. The maximum supported value for this property is 71,582. Value indicating the restart time period. The PingingEnabled property specifies whether the World Wide Web Publishing Service (WWW Service) should periodically monitor the health of a worker process. Setting the value of this property to true indicates to the WWW service to monitor the worker processes to ensure that the they are running and healthy. Value indicating if pinging is enabled or disabled. The PingInterval property specifies the period of time (in seconds) between health-monitoring pings that the World Wide Web Publishing Service (WWW Service) sends to a worker process. Value indicating the ping interval. The PingResponseTime property specifies the amount of time (in seconds) that a worker process is given to respond to a health monitoring ping. After the time limit is exceeded, the World Wide Web Publishing Service (WWW Service) terminates the worker process. Value indicating the ping response time. Setting the RapidFailProtection property to true instructs the World Wide Web Publishing Service (WWW service) to put all applications in an application pool out of service if the number of worker process crashes has reached the maximum specified by the property, within the number of minutes specified by the property. Value indicating if rapid fail protection is enabled or disabled. The RapidFailProtectionInterval property specifies the number of minutes before the failure count for a process is reset. See . Value indicating the rapid fail protection interval. The RapidFailProtectionMaxCrashes property specifies the maximum number of failures allowed within the number of minutes specified by the property. See . Value indicating the maximum number of crashes. The ShutdownTimeLimit property specifies the amount of time (in seconds) after a recycle threshold has been reached that IIS waits for all old requests to finish running in a worker process before terminating the worker process. Value indicating the shutdown time limit. Setting the SMPAffinitized property to true indicates that a particular worker process assigned to an application pool should be assigned to a given CPU. This property is used in conjunction with the property to configure a particular processor a worker process will be assigned to. Value indicating if SMPAffinitized is enabled or disabled. The SMPProcessorAffinityMask property configures the hexadecimal processor mask. The hexadecimal processor mask indicates to which CPU the worker processes in an application pool should be bound. Before this property takes affect, the property must be set to true for the application pool. These properties cannot be set through IIS Manager. Do not set this property to zero. Doing so causes no SMP affinity to be configured, creating an error condition. The default DWORD value is 4294967295 (or -1), which is represented in hexadecimal as 0xFFFFFFFF. A value of 0xFFFFFFFF in SMPProcessorAffinityMask indicates that all processors are enabled. Value indicating the SMP processor affinity bit mask. The value of the StartupTimeLimit property specifies the amount of time (in seconds) that the World Wide Web Publishing Service (WWW Service) should wait for a worker process to finish starting up and reporting to the WWW Service. Value indicating the startup time limit. The WAMUserName property specifies the account user name that IIS uses by default as the COM+ application identity for newly created IIS out-of-process applications. The values of this property and its companion property, , are set when IIS is installed, and match the user name and password values in the Microsoft Windows user account, which is established at the same time. Changing the value of this property is not recommended. If you do, change it to a valid Windows user account, and change WAMUserPass to the corresponding password for the new account. Important: Changes to WAMUserName and WAMUserPass may disrupt the operation of existing IIS out-of-process applications. You can synchronize application identities using Component Services to edit the user name and password values, found on the Identity tab of the property sheet for each package. In-process applications are not affected by these property values. Value indicating the username. The WAMUserPass property specifies the password for the account that IIS uses by default as the COM+ application identity for newly created IIS out-of-process applications. The values of this property and its companion property, , are set when IIS is installed, and match the password and user name values in the Microsoft Windows user account (IWAM_ MachineName, where MachineName is the name of the machine on which IIS is installed) established at the same time. Important: Changing the value of this property is not recommended. If you do, you must change the Windows account password to the identical value. You must also synchronize existing IIS out-of-process application identities, using Component Services to edit the user name and password values, which are found on the Identity tab of the property sheet for each package. In-process applications are not affected by these property values. Value indicating the password. Creates a new web directory on a local or remote machine with IIS installed. The default is to create the new web directory on the local machine. The physical path is required to already exist on the target machine. If connecting to a remote machine, you can specify the and for the task to run under. Create a new web directory on the local machine. ]]> When overridden in a derived class, executes the task. True if the task successfully executed; otherwise, false. Gets or sets the name of the virtual directory. The name of the virtual directory. Gets or sets the virtual directory physical path. The physical directory must exist before this task executes. The virtual directory physical path. Gets or sets a value that indicates if the file or the contents of the folder may be executed, regardless of file type. A value indicating if AccessExecute is enabled or disabled. A value of true indicates that remote requests to execute applications are denied; only requests from the same computer as the IIS server succeed if the AccessExecute property is set to true. You cannot set AccessNoRemoteExecute to false to enable remote requests, and set to false to disable local requests. Value indicating if AccessNoRemoteExecute is enabled or disabled. A value of true indicates that remote requests to view files are denied; only requests from the same computer as the IIS server succeed if the property is set to true. You cannot set to false to enable remote requests, and set to false to disable local requests. Value indicating if AccessNoRemoteRead is enabled or disabled. A value of true indicates that remote requests to view dynamic content are denied; only requests from the same computer as the IIS server succeed if the property is set to true. You cannot set AccessNoRemoteScript to false to enable remote requests, and set to false to disable local requests. Value indicating if AccessNoRemoteScript is enabled or disabled. A value of true indicates that remote requests to create or change files are denied; only requests from the same computer as the IIS server succeed if the property is set to true. You cannot set AccessNoRemoteWrite to false to enable remote requests, and set to false to disable local requests. Value indicating if AccessNoRemoteWrite is enabled or disabled. A value of true indicates that the file or the contents of the folder may be read through Microsoft Internet Explorer. Value indicating if AccessRead is enabled or disabled. A value of true indicates that users are allowed to access source code if either Read or Write permissions are set. Source code includes scripts in Microsoft ® Active Server Pages (ASP) applications. Value indicating if AccessSource is enabled or disabled. A value of true indicates that the file or the contents of the folder may be executed if they are script files or static content. A value of false only allows static files, such as HTML files, to be served. Value indicating if AccessScript is enabled or disabled. A value of true indicates that file access requires SSL file permission processing, with or without a client certificate. Value indicating if AccessSsl is enabled or disabled. A value of true indicates that file access requires SSL file permission processing with a minimum key size of 128 bits, with or without a client certificate. Value indicating if AccessSsl128 is enabled or disabled. A value of true indicates that SSL file permission processing maps a client certificate to a Microsoft Windows ® operating system user-account. The property must also be set to true for the mapping to occur. Value indicating if AccessSslMapCert is enabled or disabled. A value of true indicates that SSL file access processing requests a certificate from the client. A value of false indicates that access continues if the client does not have a certificate. Some versions of Internet Explorer will close the connection if the server requests a certificate and a certificate is not available (even if is also set to true). Value indicating if AccessSslNegotiateCert is enabled or disabled. A value of true indicates that SSL file access processing requests a certificate from the client. If the client provides no certificate, the connection is closed. must also be set to true when using AccessSSLRequireCert. Value indicating if AccessSslRequireCert is enabled or disabled. A value of true indicates that users are allowed to upload files and their associated properties to the enabled directory on your server or to change content in a Write-enabled file. Write can be implemented only with a browser that supports the PUT feature of the HTTP 1.1 protocol standard. Value indicating if AccessWrite is enabled or disabled. The AnonymousPasswordSync property indicates whether IIS should handle the user password for anonymous users attempting to access resources. Value indicating if AnonymousPasswordSync is enabled or disabled. The AppAllowClientDebug property specifies whether ASP client-side debugging is enabled. This property is independent of , which applies to server-side debugging. Value indicating if AppAllowClientDebug is enabled or disabled. The AppAllowDebugging property specifies whether ASP debugging is enabled on the server. This property is independent of the property, which applies to client-side debugging. Value indicating if AppAllowDebugging is enabled or disabled. The AspAllowSessionState property enables session state persistence for the ASP application. Value indicating if the AspAllowSessionState is enabled or disabled. The AspBufferingOn property specifies whether output from an ASP application will be buffered. Value indicating if the AspBufferingOn is enabled or disabled. The AspEnableApplicationRestart determines whether an ASP application can be automatically restarted. When changes are made to Global.asa or metabase properties that affect an application, the application will not restart unless the AspEnableApplicationRestart property is set to true. Value indicating if AspEnableApplicationRestart is enabled or disabled. The AspEnableAspHtmlFallback property controls the behavior of ASP when a new request is to be rejected due to a full request queue. Value indicating if AspEnableAspHtmlFallback is enabled or disabled. The AspEnableChunkedEncoding property specifies whether HTTP 1.1 chunked transfer encoding is enabled for the World Wide Web Publishing Service (WWW service). Value indicating if AspEnableChunkedEncoding is enabled or disabled. The AspErrorsToNTLog property specifies which ASP errors are written to the Windows event log. ASP errors are written to the client browser and to the IIS log files by default. Value indicating if AspErrorsToNTLog is enabled or disabled. The AspEnableParentPaths property specifies whether an ASP page allows paths relative to the current directory (using the ..\ notation) or above the current directory. Value indicating if AspEnableParentPaths is enabled or disabled. The AspEnableTypelibCache property specifies whether type libraries are cached on the server. The World Wide Web Publishing Service (WWW service) setting for this property is applicable to all in-process and pooled out-of-process application nodes, at all levels. Metabase settings at the Web server level or lower are ignored for in-process and pooled out-of-process applications. However, settings at the Web server level or lower are used if that node is an isolated out-of-process application. Value indicating if AspEnableTypelibCache is enabled or disabled. The AspExceptionCatchEnable property specifies whether ASP pages trap exceptions thrown by components. Value indicating if AspExceptionCatchEnable is enabled or disabled. The AspLogErrorRequests property controls whether the Web server writes ASP errors to the application section of the Windows event log. ASP errors are written to the client browser and to the IIS log files by default. Value indicating if AspLogErrorRequests is enabled or disabled. The AspScriptErrorSentToBrowser property specifies whether the Web server writes debugging specifics (file name, error, line number, description) to the client browser, in addition to logging them to the Windows Event Log. The property provides the error message to be sent if this property is set to false. Value indicating if AspScriptErrorSentToBrowser is enabled or disabled. The AspTrackThreadingModel property specifies whether IIS checks the threading model of any components (COM objects) that your application creates. The preferred setting of this metabase property is false. Value indicating if AspTrackThreadingModel is enabled or disabled. Specifies Anonymous authentication as one of the possible Windows authentication schemes returned to clients as being available. Value indicating if AuthAnonymous is enabled or disabled. Specifies Basic authentication as one of the possible Windows authentication schemes returned to clients as being available. Value indicating if AuthBasic is enabled or disabled. Specifies Integrated Windows authentication (also known as Challenge/Response or NTLM authentication) as one of the possible Windows authentication schemes returned to clients as being available. Value indicating if AuthNtlm is enabled or disabled. Setting this flag to true specifies that authentication persists only for a single request on a connection. IIS resets the authentication at the end of each request, and forces re-authentication on the next request of the session. Value indicating if AuthPersistSingleRequest is enabled or disabled. Setting this flag to true specifies authentication will persist only across single requests on a connection if the connection is by proxy. IIS will reset the authentication at the end of the request if the current authenticated request is by proxy and it is not the special case where IIS is running MSPROXY. Value indicating if AuthPersistSingleRequestIfProxy is enabled or disabled. Setting this flag to true specifies that authentication is valid for a single request if by proxy. IIS will reset the authentication at the end of the request and force re-authentication on the next request if the current authenticated request is by proxy of any type. Value indicating if AuthPersistSingleRequestAlwaysIfProxy is enabled or disabled. The CacheControlNoCache property specifies the HTTP 1.1 directive to prevent caching of content. Value indicating if CacheControlNoCache is enabled or disabled. The CacheISAPI property indicates whether ISAPI extensions are cached in memory after first use. Value indicating if CacheIsapi is enabled or disabled. The ContentIndexed property specifies whether the installed content indexer should index content under this directory tree. Value indicating if ContentIndexed is enabled or disabled. This property specifies whether process accounting and throttling should be performed for ISAPI extensions and ASP applications. To perform process accounting on CGI applications, use the property . Value indicating if CpuAppEnabled is enabled or disabled. This property indicates whether IIS should perform process accounting for CGI applications. To effectively throttle CGI applications, use the CgiTimeout property. To use process accounting for ISAPI and ASP applications, use . Value indicating if CpuCgiEnabled is enabled or disabled. The CreateCGIWithNewConsole property indicates whether a CGI application runs in its own console. Value indicating if CreateCgiWithNewConsole is enabled or disabled. The CreateProcessAsUser property specifies whether a CGI process is created in the system context or in the context of the requesting user. Value indicating if CreateProcessAsUser is enabled or disabled. When set to true, date information is displayed when browsing directories. Value indicating if DirBrowseShowDate is enabled or disabled. When set to true, file name extensions are displayed when browsing directories. Value indicating if DirBrowseShowExtension is enabled or disabled. When set to true, date information is displayed in extended format when displaying directories. Value indicating if DirBrowseShowLongDate is enabled or disabled. When set to true, file size information is displayed when browsing directories. Value indicating if DirBrowseShowSize is enabled or disabled. When set to true, file time information is displayed when displaying directories. Value indicating if DirBrowseShowTime is enabled or disabled. The DontLog property specifies whether client requests are written to the IIS log files. Value indicating if DontLog is enabled or disabled. When set to true, the default document (specified by the property) for a directory is loaded when the directory is browsed. Value indicating if EnableDefaultDoc is enabled or disabled. When set to true, directory browsing is enabled. Value indicating if EnableDirBrowsing is enabled or disabled. The EnableDocFooter property enables or disables custom footers specified by the DefaultDocFooter property. Value indicating if EnableDocFooter is enabled or disabled. The EnableReverseDns property enables or disables reverse Domain Name Server (DNS) lookups for the World Wide Web Publishing Service (WWW service). Reverse lookups involve looking up the domain name when the IP address is known. Reverse DNS lookups can use significant resources and time. Value indicating if EnableReverseDns is enabled or disabled. The SSIExecDisable property specifies whether server-side include (SSI) #exec directives are disabled under this path. Value indicating if SsiExecDisable is enabled or disabled. The UNCAuthenticationPassthrough property enables user authentication passthrough for Universal Naming Convention (UNC) virtual root access (for authentication schemes that support delegation). Value indicating if UncAuthenticationPassthrough is enabled or disabled. The AspScriptErrorMessage property specifies the error message to send to the browser if specific debugging errors are not sent to the client (if is set to false). Value indicating if AspScriptErrorMessage is enabled or disabled. The DefaultDoc contains one or more file names of default documents that will be returned to the client if no file name is included in the client's request. The default document will be returned if the flag of the DirBrowseFlags property is set to true for the directory. This property can contain a list of default document file names separated by a comma and a space, for example Default.htm, Default.asp. Listing of the default documents for the web application. Deletes an existing application pool on a local or remote machine with IIS installed. The default is to delete an existing application pool on the local machine. If connecting to a remote machine, you can specify the and for the task to run under. Delete an existing application pool on the local machine. ]]> When overridden in a derived class, executes the task. True if the task successfully executed; otherwise, false. Gets or sets the name of the application pool. The name of the application pool. Deletes a web directory on a local or remote machine with IIS installed. The default is to delete the web directory on the local machine. If connecting to a remote machine, you can specify the and for the task to run under. Deletes a web directory on the local machine. ]]> When overridden in a derived class, executes the task. True if the task successfully executed; otherwise, false. Gets or sets the name of the virtual directory. The name of the virtual directory. Actions the can do. Start the applicaiton pool Stop the applicaiton pool Restart the applicaiton pool Recycle the applicaiton pool Allows control for an application pool on a local or remote machine with IIS installed. The default is to control the application pool on the local machine. If connecting to a remote machine, you can specify the and for the task to run under. Restart an application pool on the local machine. ]]> When overridden in a derived class, executes the task. True if the task successfully executed; otherwise, false. Gets or sets the name of the app pool. The name of the app pool. Gets or sets the application pool action. The application pool action. Sends an email message Example of sending an email. ]]> Initializes a new instance of the class. Sends an email message Returns true if successful List of files to attach to message List of addresss that contains the blind carbon copy (BCC) recipients for this e-mail message List of addresss that contains the carbon copy (CC) recipients for this e-mail message The email message body The from address for this e-mail message This property is required. A value indicating whether the mail message body is in Html The priority of this e-mail message Possible values are High, Normal, and Low The subject line for this e-mail message This property is required. The name or IP address of the host used for SMTP transactions This property is required. List of addresss that contains the recipients of this e-mail message This property is required. Gets or sets the username. The username. Gets or sets the password. The password. Add numbers Adding numbers: ]]> When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Divide numbers ]]> Above example will display: Divide 1/2= 0.5 Truncate the result to always return an integer: ]]> Above example will display: Divide 7/3= 2 When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. When , uses integer division to truncate the result. Default is Any remainder in the result is dropped, and the closest integer to zero is returned. Refer to the documentation for the \ Operator for more information about integer division. Multiple numbers ]]> When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Subtract numbers ]]> When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Moves files on the filesystem to a new location. Move a file to another folder ]]> Rename a file ]]> When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets the items that were successfully moved. The moved files. Gets or sets the list of files to moved the source files to. This list is expected to be a one-to-one mapping with the list specified in the SourceFiles parameter. That is, the first file specified in SourceFiles will be moved to the first location specified in DestinationFiles, and so forth. The destination files. Gets or sets the directory to which you want to move the files. The destination folder. Gets or sets the source files to move. The source files to move. Runs the NDoc application. Generated html help file. ]]> Initializes a new instance of the class. Returns a string value containing the command line arguments to pass directly to the executable file. A string value containing the command line arguments to pass directly to the executable file. Returns the fully qualified path to the executable file. The fully qualified path to the executable file. Logs the starting point of the run to all registered loggers. A descriptive message to provide loggers, usually the command line and switches. Returns the directory in which to run the executable file. The directory in which to run the executable file, or a null reference (Nothing in Visual Basic) if the executable file should be run in the current directory. Gets or sets the documenter. The documenter. Available documenters are VS.NET_2003, JavaDoc, LaTeX, LinearHtml, MSDN, XML. Gets or sets the project file path. The project file path. Gets or sets a value indicating whether the output is verbose. true if verbose; otherwise, false. Gets or sets the working directory. The working directory. The directory in which to run the executable file, or a null reference (Nothing in Visual Basic) if the executable file should be run in the current directory. Gets the name of the executable file to run. The name of the executable file to run. Gets the with which to log errors. The with which to log errors. Run NUnit on a group of assemblies. Run NUnit tests. ]]> The default relative path of the NUnit installation. The value is @"NUnit-Net-2.0 2.2.7\bin". Initializes a new instance of the class. Returns a string value containing the command line arguments to pass directly to the executable file. A string value containing the command line arguments to pass directly to the executable file. Returns the fully qualified path to the executable file. The fully qualified path to the executable file. Logs the starting point of the run to all registered loggers. A descriptive message to provide loggers, usually the command line and switches. Returns the directory in which to run the executable file. The directory in which to run the executable file, or a null reference (Nothing in Visual Basic) if the executable file should be run in the current directory. Gets or sets the assemblies. The assemblies. Gets or sets the categories to include. Multiple values must be separated by a comma "," Gets or sets the categories to exclude. Multiple values must be separated by a comma "," Gets or sets the fixture. The fixture. Gets or sets the XSLT transform file. The XSLT transform file. Gets or sets the output XML file. The output XML file. The file to receive test error details. Gets or sets the working directory. The working directory. The directory in which to run the executable file, or a null reference (Nothing in Visual Basic) if the executable file should be run in the current directory. Determines whether assemblies are copied to a shadow folder during testing. Shadow copying is enabled by default. If you want to test the assemblies "in place", you must set this property to True. The project configuration to run. Only applies when a project file is used. The default is the first configuration, usually Debug. Allows tests to be run in a new thread, allowing you to take advantage of ApartmentState and ThreadPriority settings in the config file. Gets the name of the executable file to run. The name of the executable file to run. Gets the with which to log errors. The with which to log errors. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to Attrib directory '{0}'. {1}. Looks up a localized string similar to Attrib file '{0}'. {1}. Looks up a localized string similar to File Not Found: {0}. Looks up a localized string similar to Local File Not Found: {0}. Looks up a localized string similar to {0}% Complete ({1}). Looks up a localized string similar to Transfered {0} ({1}) in {2}. Looks up a localized string similar to Upload File Complete, {0}. Looks up a localized string similar to Uploading "{0}" to "{1}" . Looks up a localized string similar to The URI "{0}" scheme is not valid.. Looks up a localized string similar to Compressed by {0}, from {1} to {2} byte(s). Looks up a localized string similar to Compressing JavaScript in "{0}".. Looks up a localized string similar to Writing compressed JavaScript back to "{0}" using {1}.. Looks up a localized string similar to Emailing "{0}".. Looks up a localized string similar to "{0}" is not a number.. Looks up a localized string similar to Creating directory "{0}".. Looks up a localized string similar to Could not move the file "{0}" to the destination file "{1}", because the destination is a folder instead of a file. To move the source file into a folder, consider using the DestinationFolder parameter instead of DestinationFiles.. Looks up a localized string similar to Unable to move file "{0}" to "{1}". {2}. Looks up a localized string similar to Both "{0}" and "{1}" were specified as input parameters in the project file. Please choose one or the other.. Looks up a localized string similar to Moving file from "{0}" to "{1}".. Looks up a localized string similar to No destination specified for Move. Please supply either "{0}" or "{1}".. Looks up a localized string similar to The source file "{0}" is actually a directory. The "Move" task does not support moving directories.. Looks up a localized string similar to Could not find the NUnit Project File open command. Please make sure NUnit is installed.. Looks up a localized string similar to The parameter "{1}" does not apply to the current use of task "{0}".. Looks up a localized string similar to The "{0}" task was not given a value for the required parameter "{1}".. Looks up a localized string similar to Read Windows Registry. Looks up a localized string similar to Write Windows Registry. Looks up a localized string similar to Cannot continue service {0} on computer '{1}' as it does not support the pause and continue.. Looks up a localized string similar to Cannot pause service {0} on computer '{1}' as it does not support the pause and continue.. Looks up a localized string similar to Cannot stop service {0} on computer '{1}'.. Looks up a localized string similar to {0} service was continued successfully.. Looks up a localized string similar to {0} service is continuing .... Looks up a localized string similar to Couldn't find the '{0}' service on '{1}'. Looks up a localized string similar to Cannot continue service {0} on computer '{1}' as its not currently paused.. Looks up a localized string similar to Cannot pause service {0} on computer '{1}' as its not currently started.. Looks up a localized string similar to {0} service was paused successfully.. Looks up a localized string similar to {0} service is pausing .... Looks up a localized string similar to {0} service was started successfully.. Looks up a localized string similar to {0} service is starting .... Looks up a localized string similar to The '{0}' service on '{1}' is '{2}'.. Looks up a localized string similar to {0} service was stopped successfully.. Looks up a localized string similar to {0} service is stopping .... Looks up a localized string similar to Solution file "{0}" not found.. Looks up a localized string similar to LocalPath is not a working subversion copy.. Looks up a localized string similar to Failed to get current date!. Looks up a localized string similar to Getting current date.. Looks up a localized string similar to "{2}" refers to {0} item(s), and "{3}" refers to {1} item(s). They must have the same number of items.. Looks up a localized string similar to extracted "{0}". Looks up a localized string similar to Unzip File "{0}" to Directory "{1}" . Looks up a localized string similar to Unzipped file "{0}" successfully.. Looks up a localized string similar to Commitment of change set failed!. Looks up a localized string similar to Files added to Vault repository successfully.. Looks up a localized string similar to Files specified for addition to repository cannot be found.. Looks up a localized string similar to The file {0} could not be checked in: {1}.. Looks up a localized string similar to File or folder {0} not found for checkin.. Looks up a localized string similar to The folder {0} could not be checked in: {1}.. Looks up a localized string similar to {0} successfully checked out.. Looks up a localized string similar to {0} successfully checked out.. Looks up a localized string similar to Specified diskfile {0} does not exist.. Looks up a localized string similar to File [{0}] added to change set.. Looks up a localized string similar to Folder [{0}] added to change set.. Looks up a localized string similar to Incorrect parameters passed to VaultSession.. Looks up a localized string similar to Login to Vault repository failed.. Looks up a localized string similar to Error validating path "{0}".. Looks up a localized string similar to Selection of the repository failed: {0}.. Looks up a localized string similar to File or folder {0} not found for checkout.. Looks up a localized string similar to Set working folder for {0} to {1} from {2}.. Looks up a localized string similar to ClientInstance.TreeCache has not been initialized, Common cause is that SelectRepository has not been called sucessfully.. Looks up a localized string similar to Successfully undid check out for {0}.. Looks up a localized string similar to Url specifying vault location is required.. Looks up a localized string similar to Username must be set to access repository.. Looks up a localized string similar to Clearing working folder for {0}.. Looks up a localized string similar to Restoring working folder for {0} to {1}.. Looks up a localized string similar to Version file "{0}" not found - creating new file.. Looks up a localized string similar to Updated to version {0}. Looks up a localized string similar to Initialized to version {0}. Looks up a localized string similar to Reading version from file "{0}".. Looks up a localized string similar to Unable to read version number from "{0}". {1}. Looks up a localized string similar to Unable to write version number to "{0}". {1}". Looks up a localized string similar to Wrote version to file "{0}".. Looks up a localized string similar to Web directory {0} does not exist on {1}.. Looks up a localized string similar to Setting scriptmap for {0} on web directory {1} on {2}.. Looks up a localized string similar to Web directory {0} on {1} does not have a setting called {2}.. Looks up a localized string similar to Reading {0} property of web directory {1} on {2}.. Looks up a localized string similar to Setting {0} property of web directory {1} on {2}.. Looks up a localized string similar to Reading Xml Document "{0}".. Looks up a localized string similar to {0} node(s) selected for read.. Looks up a localized string similar to XmlRead Result: "{0}". Looks up a localized string similar to Updating Xml Document "{0}".. Looks up a localized string similar to {0} node(s) selected for update.. Looks up a localized string similar to XmlUpdate Wrote: "{0}".. Looks up a localized string similar to Adding Parameter \"{0}\": \"{1}\".. Looks up a localized string similar to Adding root attribute {0}=\"{1}\".. Looks up a localized string similar to Creating root tag \"{0}\".. Looks up a localized string similar to No input files.. Looks up a localized string similar to No root tag inserted.. Looks up a localized string similar to added "{0}".. Looks up a localized string similar to Creating zip file "{0}".. Looks up a localized string similar to Zip File Not Found: {0}.. Looks up a localized string similar to Created zip file "{0}" successfully.. Reads a value from the Registry Read .NET Framework install root from Registry. ]]> The parameter is set according to the following rules: If a is provided, it will be used if the or does not exist. If a is not provided, the exists, but the does not exist, will be set to an empty string. If a is not provided, and the does not exist, the task will fail. Initializes a new instance of the class. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the full registry path of the key, beginning with a valid registry root, such as "HKEY_CURRENT_USER". The name of the key. Gets or sets the name of the name/value pair. The name of the value. Gets or sets the default value. The default value. Gets the stored value. The value. Writes a value to the Registry Write a value to Registry ]]> Initializes a new instance of the class. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the full registry path of the key, beginning with a valid registry root, such as "HKEY_CURRENT_USER". The name of the key. Gets or sets the name of the name/value pair. The name of the value. Gets or sets the value to be stored. The value. Executes code contained within the task. Simple script that writes to the console ]]> Executes the task. if the task ran successfully; otherwise . The required references The namespaces to import. The language of the script block (defaults to C#). The supported languages are: Visual Basic.NET (VB, vb, VISUALBASIC) C# (C#, c#, CSHARP) JavaScript (JS, js, JSCRIPT) J# (VJS, vjs, JSHARP) or, proviude the fully-qualified name for a class implementing . The name of the main class containing the static ScriptMain entry point. The code to compile and execute The code must include a static (Shared in VB) method named ScriptMain. It cannot accept any parameters. If you define the method return a , the returned value will be available in the output property. The string returned from the custom ScriptMain method. A task for sleeping for a specified period of time. Causes the build to sleep for 300 milliseconds. ]]> Executes the task. if the task ran successfully; otherwise . The number of milliseconds to add to the time to sleep. The number of seconds to add to the time to sleep. The number of minutes to add to the time to sleep. The number of hours to add to the time to sleep. Base class for all of the Visual SourceSafe tasks. Attempts to connect to the SourceSafe Database and load the specified item, or version of the item, if specified. Reserved. Reserved. Logs an exception using the MSBuild logging framework. The to log. The path to the folder that contains the srcsafe.ini file. The Visual SourceSafe project or file to perform the action on (starts with "$/"). The name of the user accessing the SourceSafe database. A version of the to reference. The password to use to log in to SourceSafe. Represents the VSS Database Represents the VSS item selected (file or project). Task that executes a checkin against a VSS Database. ]]> Base class for VSS tasks that can act recursively. Reserved. Reserved. Determines whether to perform the SourceSafe operation recursively. The default is . Executes the task. if the task ran successfully; otherwise . The path to the local working directory. Determines whether to leave the file(s) as writable once the checkin is complete. The default is . The checkin comment. Task that executes a checkout of files or projects against a Visual SourceSafe database. ]]> Executes the task. if the task ran successfully; otherwise . The path to the local working directory. Determines whether files will be writable once retrieved from the repository. The default is . Task that adds files to a Visual SourceSafe database. Executes the task. if the task ran successfully; otherwise . List of files that should be added to SourceSafe. The comment to be applied to the newly added file. Task that records differences between the latest version of all the items in a Visual SourceSafe project and another version or label to a file. Generates a file containing all of the differences between the current version and the label "Test Label" ]]> Executes the task. if the task ran successfully; otherwise . The value of the label to compare to. The name of the file to send the output to. Task that retireves an item or project from a Visual SourceSafe database. Get the latest version (recursive) of a file from a VSS database and place in the specified local folder. Runs the task using the specified parameters. if the task ran successfully; otherwise . The path to the local working directory. Determines whether to replace writable files. The default is . Determines whether files will be writable once retrieved from the repository. The default is . Generates an XML file containing details of all changes made to a Visual SourceSafe project or file between specified labels or dates. Generates a file containing details of all the changes made to the $/Test project by a user called joe.bloggs ]]> Generates a file containing details of all the changes made between the labels Build1 and Build2 in the $/Test project. ]]> Generates a file containing details of all the changes made between the 1st December 2005 and 10th December 2005in the $/Test project. ]]> Executes the task. if the task ran successfully; otherwise . The label to start comparing to. The label to compare up to. The Start Date for the history. The End Date for the history. The name and path of the XML output file. The name of the user whose changes should be listed in the history. Task that applies a label to a Visual SourceSafe item. Executes the task. if the task ran successfully; otherwise . The text of the label. An optional comment. Task that undoes a checkout of files or projects against a Visual SourceSafe database. ]]> Executes the task. if the task ran successfully; otherwise . The path to the local working directory. Executes a SQL command. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. The connection string The command to execute Output the return count/value Checkout a local working copy of a Subversion repository. Checkout a working copy ]]> Initializes a new instance of the class. Indicates whether all task paratmeters are valid. true if all task parameters are valid; otherwise, false. Subversion Commit command Initializes a new instance of the class. Indicates whether all task paratmeters are valid. true if all task parameters are valid; otherwise, false. Export a folder from a Subversion repository Export from repository ]]> Initializes a new instance of the class. Indicates whether all task paratmeters are valid. true if all task parameters are valid; otherwise, false. Summarize the local revision(s) of a working copy. The following example gets the revision of the current folder. ]]> Initializes a new instance of the class. Returns the fully qualified path to the executable file. The fully qualified path to the executable file. Logs the starting point of the run to all registered loggers. A descriptive message to provide loggers, usually the command line and switches. Returns a string value containing the command line arguments to pass directly to the executable file. A string value containing the command line arguments to pass directly to the executable file. Runs the exectuable file with the specified task parameters. true if the task runs successfully; otherwise, false. Logs the events from text output. The single line. The message importance. Path to local working copy. Revision number of the local working repository. High revision number of the local working repository revision range. Low revision number of the local working repository revision range. True if working copy contains modifications. True if working copy is switched. True if invoked on a directory that is not a working copy, svnversion assumes it is an exported working copy and prints "exported". Gets the with which to log errors. The with which to log errors. Gets the name of the executable file to run. The name of the executable file to run. Subversion Update command Initializes a new instance of the class. Indicates whether all task paratmeters are valid. true if all task parameters are valid; otherwise, false. Unzip a file to a target directory. Unzip file tasks ]]> Initializes a new instance of the class. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the name of the zip file. The name of the zip file. Gets or sets the target directory. The target directory. Generates version information based on various algorithms Get version information from file and increment revision. ]]> Specify Major and Minor version information and generate Build and Revision. ]]> Initializes a new instance of the class. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the major version number. The major version number. Gets or sets the minor version number. The minor version number. Gets or sets the build version number. The build version number. Gets or sets the revision version number. The revision version number. Gets or sets the file used to initialize and persist the version. The version file. When specified, the task will attempt to load the previous version information from the file. After updating the version, the new value will be saved to the file. If you do not specify a value for this property, the version will be calculated based on the values passed to the , , , and properties. The new version will not be persisted. Gets or sets the method used to generate a number If value is not provided, None is assumed. The number is set according to the following table: BuildTypeDescription NoneThe number is not modified. AutomaticThe number of days since . IncrementIncreases the previous value by 1. Gets or sets the method used to generate a number If value is not provided, None is assumed. The number is set according to the following table: RevisionTypeDescription NoneThe number is not modified. AutomaticA number that starts at 0 at midnight, and constantly increases throughout the day (changing roughly every 1.3 seconds). Guaranteed to be safe for components of the AssemblyVersion attribute. IncrementIncreases the previous value by 1. BuildIncrementIncreases the previous value by 1 when the value of is unchanged. If the value of has changed, is reset to zero. Gets or sets the starting date used to calculate the number when is Automatic. The starting date for calculation of the build number. This value is only used when the is Automatic. This default value is January 1, 2000. Downloads a resource with the specified URI to a local file. Download the Microsoft.com home page. ]]> Initializes a new instance of the class. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the name of the local file that is to receive the data. The name of the file. Gets or sets the URI from which to download data. The file URI. Reads a value from a XML document using a XPath. Read all targest from a build project. ]]> If the XPath returns multiple nodes, the Value will be a semicolon delimited list of the nodes text. Initializes a new instance of the class. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the name of the XML file. The name of the XML file. Gets or sets the XPath. The XPath. Gets the value read from file. The value. If the XPath returns multiple nodes, the values will be semicolon delimited. Gets or sets the default namespace. The namespace. Gets or sets the prefix to associate with the namespace being added. The namespace prefix. Updates a XML document using a XPath. Update a XML element. ]]> The XML node being updated must exist before using the XmlUpdate task. Initializes a new instance of the class. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the name of the XML file. The name of the XML file. Gets or sets the XPath. The XPath. Gets or sets the value to write. The value. Gets or sets the default namespace. The namespace. Gets or sets the prefix to associate with the namespace being added. The namespace prefix. Create a zip file with the files specified. Create a zip file ]]> Create a zip file using a working directory. ]]> Initializes a new instance of the class. When overridden in a derived class, executes the task. true if the task successfully executed; otherwise, false. Gets or sets the name of the zip file. The name of the zip file. Gets or sets the zip level. The zip level. 0 - store only to 9 - means best compression Gets or sets the files to zip. The files to zip. Gets or sets a value indicating whether this is flatten. true if flatten; otherwise, false. Flattening the zip means that all directories will be removed and the files will be place at the root of the zip file Gets or sets the comment. The comment. Gets or sets the working directory for the zip file. The working directory. The working directory is the base of the zip file. All files will be made relative from the working directory.