From: <br...@us...> - 2009-07-24 22:31:17
|
Revision: 542 http://acmcontester.svn.sourceforge.net/acmcontester/?rev=542&view=rev Author: brus07 Date: 2009-07-24 22:31:08 +0000 (Fri, 24 Jul 2009) Log Message: ----------- Added new tool (MSBuild.Community.Tasks). Added Paths: ----------- nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/ nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/ nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/ICSharpCode.SharpZipLib.dll nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.Targets nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.dll nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.xml nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.xsd nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/NUnitReport.xsl Added: nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/ICSharpCode.SharpZipLib.dll =================================================================== (Binary files differ) Property changes on: nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/ICSharpCode.SharpZipLib.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.Targets =================================================================== --- nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.Targets (rev 0) +++ nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.Targets 2009-07-24 22:31:08 UTC (rev 542) @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8" ?> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <!-- $Id: MSBuild.Community.Tasks.Targets 303 2007-02-23 15:49:46Z pwelter34 $ --> + + <PropertyGroup> + <MSBuildCommunityTasksPath Condition="'$(MSBuildCommunityTasksPath)' == ''">$(MSBuildExtensionsPath)\MSBuildCommunityTasks</MSBuildCommunityTasksPath> + <MSBuildCommunityTasksLib>$(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.dll</MSBuildCommunityTasksLib> + </PropertyGroup> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.AspNet.InstallAspNet" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.AssemblyInfo" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Attrib" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SqlExecute" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.FileUpdate" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.FtpUpload" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.FxCop" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.GacUtil" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.GetSolutionProjects" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.ILMerge" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Mail" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Move" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Math.Add" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Math.Divide" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Math.Modulo" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Math.Multiple" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Math.Subtract" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.NDoc" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.NUnit" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Prompt" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.RegistryRead" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.RegistryWrite" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.RegexMatch" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.RegexReplace" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Script" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.ServiceController" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.ServiceQuery" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Sleep" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.AppPoolController" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.AppPoolCreate" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.AppPoolDelete" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.WebDirectoryCreate" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.WebDirectoryDelete" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.WebDirectoryScriptMap" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.WebDirectorySetting" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Install.InstallAssembly" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Install.UninstallAssembly" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Schema.TaskSchema" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SqlServer.ExecuteDDL" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssAdd" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssCheckin" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssCheckout" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssClean" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssDiff" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssGet" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssHistory" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssLabel" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssUndoCheckout" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnCheckout" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnClient" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnCopy" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnCommit" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnExport" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnInfo" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnUpdate" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnVersion" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Tfs.TfsVersion" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.TemplateFile" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Time" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Unzip" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Version" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.WebDownload" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Xml.XmlMassUpdate" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Xml.XmlQuery" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.XmlRead" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.XmlUpdate" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Xslt" /> + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Zip" /> + + <UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.JavaScript.JSCompress" /> + + <ItemGroup> + <FxCopRuleAssemblies Include="UsageRules.dll"/> + <FxCopRuleAssemblies Include="SecurityRules.dll"/> + <FxCopRuleAssemblies Include="PortabilityRules.dll"/> + <FxCopRuleAssemblies Include="PerformanceRules.dll"/> + <FxCopRuleAssemblies Include="MobilityRules.dll"/> + <FxCopRuleAssemblies Include="InteroperabilityRules.dll"/> + <FxCopRuleAssemblies Include="GlobalizationRules.dll"/> + <FxCopRuleAssemblies Include="DesignRules.dll"/> + </ItemGroup> +</Project> Added: nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.dll =================================================================== (Binary files differ) Property changes on: nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.xml =================================================================== --- nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.xml (rev 0) +++ nera/Tools/MSBuild.Community.Tasks.v1.2.0.306/Build/MSBuild.Community.Tasks.xml 2009-07-24 22:31:08 UTC (rev 542) @@ -0,0 +1,6506 @@ +<?xml version="1.0"?> +<doc> + <assembly> + <name>MSBuild.Community.Tasks</name> + </assembly> + <members> + <member name="T:MSBuild.Community.Tasks.AspNet.InstallAspNet"> + <summary> + Installs and register script mappings for ASP.NET + </summary> + <remarks>Uses the aspnet_regiis.exe tool included with the .NET Framework.</remarks> + <example> + Install the latest version of ASP.NET on the server: + <code> + <![CDATA[ <InstallAspNet /> ]]> + </code> + </example><example> + Install the latest version of ASP.NET on the server, but do not update script maps: + <code> + <![CDATA[ <InstallAspNet ApplyScriptMaps="Never" /> ]]> + </code> + </example><example> + Install the script maps for ASP.NET 2.0 on a web directory on the default website: + <code> + <![CDATA[ <InstallAspNet Path="MyApplication" Version="Version20" /> ]]> + </code> + </example><example> + Install the script maps for ASP.NET 1.1 on a web directory on a non-default website: + <code> + <![CDATA[ <InstallAspNet Path="MyApplication" Version="W3SVC/3/Root/Version11" /> ]]> + </code> + </example><example> + Install client side script only for the latest version: + <code> + <![CDATA[ <InstallAspNet ClientScriptsOnly="True" /> ]]> + </code> + </example> + </member> + <member name="M:MSBuild.Community.Tasks.AspNet.InstallAspNet.GenerateFullPathToTool"> + <summary> + Returns the fully qualified path to the executable file. + </summary> + <returns> + The fully qualified path to the executable file. + </returns> + </member> + <member name="M:MSBuild.Community.Tasks.AspNet.InstallAspNet.GenerateCommandLineCommands"> + <summary> + Returns a string value containing the command line arguments + to pass directly to the executable file. + </summary> + <returns> + A string value containing the command line arguments to pass + directly to the executable file. + </returns> + </member> + <member name="M:MSBuild.Community.Tasks.AspNet.InstallAspNet.Execute"> + <summary> + When overridden in a derived class, executes the task. + </summary> + <returns> + True if the task successfully executed; otherwise, false. + </returns> + </member> + <member name="M:MSBuild.Community.Tasks.AspNet.InstallAspNet.IsValidPropertyCombinations"> + <summary> + Determines if the current property values can be used together + </summary> + <returns><see langword="true"/> when properties can be used together.</returns> + </member> + <member name="P:MSBuild.Community.Tasks.AspNet.InstallAspNet.Version"> + <summary> + The version of ASP.NET to install + </summary> + <remarks> + The default behavior is to use the latest version of ASP.NET available on the computer. + <list type="table"> + <listheader><term>Version</term></listheader> + <item><term>Version11</term><description>ASP.NET v1.1</description></item> + <item><term>Version20</term><description>ASP.NET v2.0</description></item> + <item><term>VersionLatest</term><description>The latest version of ASP.NET available</description></item> + </list> + </remarks> + </member> + <member name="P:MSBuild.Community.Tasks.AspNet.InstallAspNet.ApplyScriptMaps"> + <summary> + The method used to determine if ASP.NET script mappings should be applied + </summary> + <remarks> + The default behavior is to register script mappings on all sites except those with a newer version of ASP.NET. + <list type="table"> + <listheader><term>Value</term></listheader> + <item><term>Never</term><description>Register ASP.NET on the computer without updating any script mappings.</description></item> + <item><term>IfNoneExist</term><description>Register script mappings only on for sites that do not have any existing ASP.NET script mappings (not available for ASP.NET v1.1)</description></item> + <item><term>UnlessNewerExist</term><description>Register script mappings on all sites except those with a newer version of ASP.NET.</description></item> + <item><term>Always</term><description>Register script mappings on all sites, even if they already have a newer version of ASP.NET.</description></item> + </list> + </remarks> + </member> + <member name="P:MSBuild.Community.Tasks.AspNet.InstallAspNet.ClientScriptsOnly"> + <summary> + When <see langword="true"/>, the aspnet_client scripts will be installed. No script mappings will be updated. + </summary> + <remarks>This cannot be <see langword="true"/> if a value for <see cref="P:MSBuild.Community.Tasks.AspNet.InstallAspNet.Path"/> or <see cref="P:MSBuild.Community.Tasks.AspNet.InstallAspNet.ApplyScriptMaps"/> has been specified.</remarks> + </member> + <member name="P:MSBuild.Community.Tasks.AspNet.InstallAspNet.Path"> + <summary> + The web application that should have its script maps updated. + </summary> + <remarks> + 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). + <para>You should not specify a value for <see cref="P:MSBuild.Community.Tasks.AspNet.InstallAspNet.ApplyScriptMaps"/> when specifying a path.</para> + </remarks> + </member> + <member name="P:MSBuild.Community.Tasks.AspNet.InstallAspNet.Recursive"> + <summary> + When <see langword="true"/>, script maps are applied recursively under <see cref="P:MSBuild.Community.Tasks.AspNet.InstallAspNet.Path"/>. + </summary> + <remarks>This property is only valid when specifying a value for <see cref="P:MSBuild.Community.Tasks.AspNet.InstallAspNet.Path"/>. It is <see langword="true"/> by default.</remarks> + </member> + <member name="P:MSBuild.Community.Tasks.AspNet.InstallAspNet.ToolName"> + <summary> + Gets the name of the executable file to run. + </summary> + <value></value> + <returns>The name of the executable file to run.</returns> + </member> + <member name="T:MSBuild.Community.Tasks.AssemblyInfo"> + <summary> + Generates an AssemblyInfo files + </summary> + <example> + <para>Generates a common version file.</para> + <code><![CDATA[ + <AssemblyInfo CodeLanguage="CS" + OutputFile="VersionInfo.cs" + AssemblyVersion="1.0.0.0" + AssemblyFileVersion="1.0.0.0" /> + ]]></code> + <para>Generates a complete version file.</para> + <code><![CDATA[ + <AssemblyInfo CodeLanguage="CS" + OutputFile="$(MSBuildProjectDirectory)\Test\GlobalInfo.cs" + AssemblyTitle="AssemblyInfoTask" + AssemblyDescription="AssemblyInfo Description" + AssemblyConfiguration="" + AssemblyCompany="Company Name, LLC" + AssemblyProduct="AssemblyInfoTask" + AssemblyCopyright="Copyright (c) Company Name, LLC 2006" + AssemblyTrademark="" + ComVisible="false" + CLSCompliant="true" + Guid="d038566a-1937-478a-b5c5-b79c4afb253d" + AssemblyVersion="1.0.0.0" + AssemblyFileVersion="1.0.0.0" /> + ]]></code> + </example> + </member> + <member name="F:MSBuild.Community.Tasks.AssemblyInfo.DEFAULT_OUTPUT_FILE"> + <summary> + The default value of <see cref="P:MSBuild.Community.Tasks.AssemblyInfo.OutputFile"/>. + The value is <c>"AssemblyInfo.cs"</c>. + </summary> + </member> + <member name="M:MSBuild.Community.Tasks.AssemblyInfo.#ctor"> + <summary> + Initializes a new instance of the <see cref="T:AssemblyInfo"/> class. + </summary> + </member> + <member name="M:MSBuild.Community.Tasks.AssemblyInfo.Execute"> + <summary> + When overridden in a derived class, executes the task. + </summary> + <returns> + true if the task successfully executed; otherwise, false. + </returns> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.CodeLanguage"> + <summary> + Gets or sets the code language. + </summary> + <value>The code language.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.ComVisible"> + <summary> + Gets or sets a value indicating whether [COMVisible]. + </summary> + <value><c>true</c> if [COMVisible]; otherwise, <c>false</c>.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.CLSCompliant"> + <summary> + Gets or sets a value indicating whether [CLSCompliant]. + </summary> + <value><c>true</c> if [CLSCompliant]; otherwise, <c>false</c>.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.Guid"> + <summary> + Gets or sets the GUID. + </summary> + <value>The GUID.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyTitle"> + <summary> + Gets or sets the assembly title. + </summary> + <value>The assembly title.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyDescription"> + <summary> + Gets or sets the assembly description. + </summary> + <value>The assembly description.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyConfiguration"> + <summary> + Gets or sets the assembly configuration. + </summary> + <value>The assembly configuration.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyCompany"> + <summary> + Gets or sets the assembly company. + </summary> + <value>The assembly company.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyProduct"> + <summary> + Gets or sets the assembly product. + </summary> + <value>The assembly product.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyCopyright"> + <summary> + Gets or sets the assembly copyright. + </summary> + <value>The assembly copyright.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyTrademark"> + <summary> + Gets or sets the assembly trademark. + </summary> + <value>The assembly trademark.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyCulture"> + <summary> + Gets or sets the assembly culture. + </summary> + <value>The assembly culture.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyVersion"> + <summary> + Gets or sets the assembly version. + </summary> + <value>The assembly version.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyFileVersion"> + <summary> + Gets or sets the assembly file version. + </summary> + <value>The assembly file version.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyInformationalVersion"> + <summary> + Gets or sets the assembly informational version. + </summary> + <value>The assembly informational version.</value> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyKeyFile"> + <summary> + Gets or sets the assembly key file. + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyKeyName"> + <summary> + Gets or sets the assembly key name. + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.AssemblyDelaySign"> + <summary> + Gets or sets the assembly delay sign value. + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.GenerateClass"> + <summary> + Gets or sets a value indicating whether to generate the ThisAssmebly class. + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.AssemblyInfo.OutputFile"> + <summary> + Gets or sets the output file. + </summary> + <value>The output file.</value> + </member> + <member name="T:MSBuild.Community.Tasks.Attrib"> + <summary> + Changes the attributes of files and/or directories + </summary> + <example> + <para>Make file Readonly, Hidden and System.</para> + <code><![CDATA[ + <Attrib Files="Test\version.txt" + ReadOnly="true" Hidden="true" System="true"/> + ]]></code> + <para>Clear Hidden and System attributes.</para> + <code><![CDATA[ + <Attrib Files="Test\version.txt" + Hidden="false" System="false"/> + ]]></code> + <para>Make file Normal.</para> + <code><![CDATA[ + <Attrib Files="Test\version.txt" + Normal="true"/> + ]]></code> + </example> + </member> + <member name="M:MSBuild.Community.Tasks.Attrib.Execute"> + <summary> + Executes the task. + </summary> + <returns><see langword="true"/> if the task ran successfully; + otherwise <see langword="false"/>.</returns> + </member> + <member name="P:MSBuild.Community.Tasks.Attrib.Files"> + <summary> + Gets or sets the list of files to change attributes on. + </summary> + <value>The files to change attributes on.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Attrib.Directories"> + <summary> + Gets or sets the list of directories to change attributes on. + </summary> + <value>The directories to change attributes on.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Attrib.Archive"> + <summary> + Gets or sets file's archive status. + </summary> + <value><c>true</c> if archive; otherwise, <c>false</c>.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Attrib.Compressed"> + <summary> + Gets or sets a value indicating file is compressed. + </summary> + <value><c>true</c> if compressed; otherwise, <c>false</c>.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Attrib.Encrypted"> + <summary> + Gets or sets a value indicating file is encrypted. + </summary> + <value><c>true</c> if encrypted; otherwise, <c>false</c>.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Attrib.Hidden"> + <summary> + Gets or sets a value indicating file is hidden, and thus is not included in an ordinary directory listing. + </summary> + <value><c>true</c> if hidden; otherwise, <c>false</c>.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Attrib.Normal"> + <summary> + Gets or sets a value indicating file is normal and has no other attributes set. + </summary> + <value><c>true</c> if normal; otherwise, <c>false</c>.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Attrib.ReadOnly"> + <summary> + Gets or sets a value indicating file is read-only. + </summary> + <value><c>true</c> if read-only; otherwise, <c>false</c>.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Attrib.System"> + <summary> + Gets or sets a value indicating file is a system file. + </summary> + <value><c>true</c> if system; otherwise, <c>false</c>.</value> + </member> + <member name="T:MSBuild.Community.Tasks.GacUtilCommands"> + <summary> + The list of the commans available to the GacUtil Task + </summary> + </member> + <member name="F:MSBuild.Community.Tasks.GacUtilCommands.Install"> + <summary>Install the list of assemblies into the GAC.</summary> + </member> + <member name="F:MSBuild.Community.Tasks.GacUtilCommands.Uninstall"> + <summary>Uninstall the list of assembly names from the GAC.</summary> + </member> + <member name="T:MSBuild.Community.Tasks.GacUtil"> + <summary> + MSBuild task to install and uninstall asseblies into the GAC + </summary> + <example>Install a dll into the GAC. + <code><![CDATA[ + <GacUtil + Command="Install" + Assemblies="MSBuild.Community.Tasks.dll" + Force="true" /> + ]]></code> + </example> + <example>Uninstall a dll from the GAC. + <code><![CDATA[ + <GacUtil + Command="Uninstall" + Assemblies="MSBuild.Community.Tasks" + Force="true" /> + ]]></code> + </example> + </member> + <member name="M:MSBuild.Community.Tasks.GacUtil.GenerateFullPathToTool"> + <summary> + Returns the fully qualified path to the executable file. + </summary> + <returns> + The fully qualified path to the executable file. + </returns> + </member> + <member name="M:MSBuild.Community.Tasks.GacUtil.LogToolCommand(System.String)"> + <summary> + Logs the starting point of the run to all registered loggers. + </summary> + <param name="message">A descriptive message to provide loggers, usually the command line and switches.</param> + </member> + <member name="M:MSBuild.Community.Tasks.GacUtil.GenerateCommandLineCommands"> + <summary> + Returns a string value containing the command line arguments to pass directly to the executable file. + </summary> + <returns> + A string value containing the command line arguments to pass directly to the executable file. + </returns> + </member> + <member name="M:MSBuild.Community.Tasks.GacUtil.Execute"> + <summary> + Runs the exectuable file with the specified task parameters. + </summary> + <returns> + true if the task runs successfully; otherwise, false. + </returns> + </member> + <member name="P:MSBuild.Community.Tasks.GacUtil.Command"> + <summary> + Gets or sets the command. + </summary> + <value>The command.</value> + <enum cref="T:MSBuild.Community.Tasks.GacUtilCommands"/> + </member> + <member name="P:MSBuild.Community.Tasks.GacUtil.Force"> + <summary> + Gets or sets a value indicating whether to force reinstall of an assembly. + </summary> + <value><c>true</c> if force; otherwise, <c>false</c>.</value> + </member> + <member name="P:MSBuild.Community.Tasks.GacUtil.Assemblies"> + <summary> + Gets or sets the assembly. + </summary> + <value>The assembly.</value> + </member> + <member name="P:MSBuild.Community.Tasks.GacUtil.ToolName"> + <summary> + Gets the name of the executable file to run. + </summary> + <value></value> + <returns>The name of the executable file to run.</returns> + </member> + <member name="P:MSBuild.Community.Tasks.GacUtil.StandardOutputLoggingImportance"> + <summary> + Gets the <see cref="T:Microsoft.Build.Framework.MessageImportance"></see> with which to log errors. + </summary> + <value></value> + <returns>The <see cref="T:Microsoft.Build.Framework.MessageImportance"></see> with which to log errors.</returns> + </member> + <member name="T:MSBuild.Community.Tasks.JavaScript.JSCompress"> + <summary> + 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. + </summary> + <remarks> + 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. + </remarks> + </member> + <member name="M:MSBuild.Community.Tasks.JavaScript.JSCompress.Execute"> + <summary> + When overridden in a derived class, executes the task. + </summary> + <returns> + true if the task successfully executed; otherwise, false. + </returns> + </member> + <member name="P:MSBuild.Community.Tasks.JavaScript.JSCompress.Files"> + <summary> + Gets or sets the files to source-compress. + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.JavaScript.JSCompress.Encoding"> + <summary> + Encoding to use to read and write files. + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.JavaScript.JSCompress.CompressedFiles"> + <summary> + Gets the files that were successfully source-compressed. + </summary> + </member> + <member name="T:MSBuild.Community.Tasks.Subversion.SvnCopy"> + <summary> + Copy a file or folder in Subversion + </summary> + <remarks> + 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. + </remarks> + <example>Create a tag of the trunk with the current Cruise Control build number: + <code><![CDATA[ + <Target Name="TagTheBuild"> + <SvnCopy SourcePath="file:///d:/svn/repo/Test/trunk" + DestinationPath="file:///d:/svn/repo/Test/tags/BUILD-$(CCNetLabel)" + Message="Automatic build of $(CCNetProject)" /> + </Target> + ]]></code> + </example> + </member> + <member name="T:MSBuild.Community.Tasks.Subversion.SvnClient"> + <summary> + Subversion client base class + </summary> + </member> + <member name="M:MSBuild.Community.Tasks.Subversion.SvnClient.GenerateSvnCommand"> + <summary> + Generates the SVN command. + </summary> + <returns></returns> + </member> + <member name="M:MSBuild.Community.Tasks.Subversion.SvnClient.GenerateSvnArguments"> + <summary> + Generates the SVN arguments. + </summary> + <returns></returns> + </member> + <member name="M:MSBuild.Community.Tasks.Subversion.SvnClient.GenerateCommandLineCommands"> + <summary> + Returns a string value containing the command line arguments to pass directly to the executable file. + </summary> + <returns> + A string value containing the command line arguments to pass directly to the executable file. + </returns> + </member> + <member name="M:MSBuild.Community.Tasks.Subversion.SvnClient.ValidateParameters"> + <summary> + Indicates whether all task paratmeters are valid. + </summary> + <returns> + true if all task parameters are valid; otherwise, false. + </returns> + </member> + <member name="M:MSBuild.Community.Tasks.Subversion.SvnClient.LogEventsFromTextOutput(System.String,Microsoft.Build.Framework.MessageImportance)"> + <summary> + Logs the events from text output. + </summary> + <param name="singleLine">The single line.</param> + <param name="messageImportance">The message importance.</param> + </member> + <member name="M:MSBuild.Community.Tasks.Subversion.SvnClient.GenerateFullPathToTool"> + <summary> + Returns the fully qualified path to the executable file. + </summary> + <returns> + The fully qualified path to the executable file. + </returns> + </member> + <member name="M:MSBuild.Community.Tasks.Subversion.SvnClient.LogToolCommand(System.String)"> + <summary> + Logs the starting point of the run to all registered loggers. + </summary> + <param name="message">A descriptive message to provide loggers, usually the command line and switches.</param> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.Command"> + <summary> + Gets or sets the command. + </summary> + <value>The command.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.Arguments"> + <summary> + Gets or sets the arguments. + </summary> + <value>The arguments.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.Username"> + <summary> + Gets or sets the username. + </summary> + <value>The username.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.Password"> + <summary> + Gets or sets the password. + </summary> + <value>The password.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.Verbose"> + <summary> + Gets or sets the verbose. + </summary> + <value>The verbose.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.Force"> + <summary> + Gets or sets the force. + </summary> + <value>The force.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.Message"> + <summary> + Gets or sets the message. + </summary> + <value>The message.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.RepositoryPath"> + <summary> + Gets or sets the repository path. + </summary> + <value>The repository path.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.LocalPath"> + <summary> + Gets or sets the local path. + </summary> + <value>The local path.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.Targets"> + <summary> + Gets or sets the targets. + </summary> + <value>The targets.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.Revision"> + <summary> + Gets or sets the revision. + </summary> + <value>The revision.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.CommandSwitches"> + <summary> + Gets or sets the command switchs. + </summary> + <value>The command switchs.</value> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.StandardOutputLoggingImportance"> + <summary> + Gets the <see cref="T:Microsoft.Build.Framework.MessageImportance"></see> with which to log errors. + </summary> + <value></value> + <returns>The <see cref="T:Microsoft.Build.Framework.MessageImportance"></see> with which to log errors.</returns> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnClient.ToolName"> + <summary> + Gets the name of the executable file to run. + </summary> + <value></value> + <returns>The name of the executable file to run.</returns> + </member> + <member name="M:MSBuild.Community.Tasks.Subversion.SvnCopy.#ctor"> + <summary> + Initializes a new instance of the <see cref="T:MSBuild.Community.Tasks.Subversion.SvnCopy"/> class. + </summary> + </member> + <member name="M:MSBuild.Community.Tasks.Subversion.SvnCopy.GenerateSvnCommand"> + <summary> + Generates the SVN command. + </summary> + <returns></returns> + </member> + <member name="M:MSBuild.Community.Tasks.Subversion.SvnCopy.ValidateParameters"> + <summary> + Indicates whether all task paratmeters are valid. + </summary> + <returns> + true if all task parameters are valid; otherwise, false. + </returns> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnCopy.SourcePath"> + <summary> + The path of the source file or folder that should be copied + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.Subversion.SvnCopy.DestinationPath"> + <summary> + The path to which the SourcePath should be copied + </summary> + </member> + <member name="T:MSBuild.Community.Tasks.Tfs.IServer"> + <summary> + Describes the behavior of a Team Foundation Server + </summary> + </member> + <member name="M:MSBuild.Community.Tasks.Tfs.IServer.GetLatestChangesetId(System.String,System.Net.ICredentials)"> + <summary> + Retrieves the latest changeset ID associated with a path + </summary> + <param name="localPath">A path on the local filesystem</param> + <param name="credentials">Credentials used to authenticate against the serer</param> + <returns></returns> + </member> + <member name="T:MSBuild.Community.Tasks.Tfs.TeamFoundationServer"> + <summary> + Handles all communication with the Team Foundation Server + </summary> + </member> + <member name="M:MSBuild.Community.Tasks.Tfs.TeamFoundationServer.#ctor(System.String)"> + <summary> + Creates an instace of the TeamFoundationServer class + </summary> + <param name="clientLocation">The local file path containing the TFS libraries. null if TFS is in the GAC.</param> + </member> + <member name="M:MSBuild.Community.Tasks.Tfs.TeamFoundationServer.GetLatestChangesetId(System.String,System.Net.ICredentials)"> + <summary> + Retrieves the latest changeset ID associated with a path + </summary> + <param name="localPath">A path on the local filesystem</param> + <param name="credentials">Credentials used to authenticate against the serer</param> + <returns></returns> + </member> + <member name="T:MSBuild.Community.Tasks.Tfs.TeamFoundationServerException"> + <summary> + Exceptions returned by the Team Foundation Server + </summary> + </member> + <member name="M:MSBuild.Community.Tasks.Tfs.TeamFoundationServerException.#ctor"> + <summary> + Creates a new instance of the exception + </summary> + </member> + <member name="M:MSBuild.Community.Tasks.Tfs.TeamFoundationServerException.#ctor(System.String)"> + <summary> + Creates a new instance of the exception + </summary> + <param name="message">A description of the exception</param> + </member> + <member name="T:MSBuild.Community.Tasks.Tfs.TfsVersion"> + <summary> + Determines the changeset in a local Team Foundation Server workspace + </summary> + </member> + <member name="M:MSBuild.Community.Tasks.Tfs.TfsVersion.Execute"> + <summary> + Runs the exectuable file with the specified task parameters. + </summary> + <returns> + true if the task runs successfully; otherwise, false. + </returns> + </member> + <member name="P:MSBuild.Community.Tasks.Tfs.TfsVersion.Username"> + <summary> + The user to authenticate on the server + </summary> + <remarks>Leave empty to use the credentials of the current user.</remarks> + </member> + <member name="P:MSBuild.Community.Tasks.Tfs.TfsVersion.Password"> + <summary> + The password for the user to authenticate on the server + </summary> + <remarks>Leave empty to use the credentials of the current user.</remarks> + </member> + <member name="P:MSBuild.Community.Tasks.Tfs.TfsVersion.Domain"> + <summary> + The domain of the user to authenticate on the server + </summary> + <remarks>Leave empty to use the credentials of the current user.</remarks> + </member> + <member name="P:MSBuild.Community.Tasks.Tfs.TfsVersion.LocalPath"> + <summary>Path to local working copy.</summary> + </member> + <member name="P:MSBuild.Community.Tasks.Tfs.TfsVersion.Changeset"> + <summary> + The latest changeset ID in the local path + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.Tfs.TfsVersion.TfsLibraryLocation"> + <summary> + The location of the Team Foundation Server client assemblies. Leave empty when the client is installed in the Global Assembly Cache. + </summary> + </member> + <member name="T:MSBuild.Community.Tasks.Xml.XmlMassUpdate"> + <summary> + Performs multiple updates on an XML file + </summary> + <remarks> + XmlMassUpdate allows to to specify multiple changes to make to an XML file (the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.ContentFile"/>. By default, the changes are applied to the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.ContentFile"/>, but you can create a new file by providing the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.MergedFile"/> attribute. The change instructions are specified using XML in the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SubstitutionsFile"/>. If the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SubstitutionsFile"/> does not mirror the structure of the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.ContentFile"/> exactly, you can specify the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.ContentRoot"/> and <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SubstitutionsRoot"/> XPath expressions which determine how the files should be mapped to each other. + <para>Any element within the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SubstitutionsRoot"/> will find the corresponding element in the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.ContentRoot"/>. 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.</para> + <para> + Any attribute declared within the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.UpdateControlNamespace"/> will not be copied to the modified file. Valid attributes are <c>key</c> and <c>action</c>. The <c>key</c> 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 <c>action="remove"</c> attribute to specify that an element should be deleted instead of updated. + </para> + </remarks><example> + <para>These examples will demonstrate how to make multiple updates to a XML file named web.config. It looks like: + <code> + <![CDATA[<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <appSettings> + <add key="ItemsPerPage" value="10" /> + <add key="EnableCaching" value="true" /> + <add key="DefaultServer" value="TIGRIS" /> + </appSettings> + <system.web> + <compilation defaultLanguage="c#" debug="true" /> + <customErrors mode="Off" /> + <trace enabled="true" requestLimit="10" pageOutput="true" /> + <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> + </system.web> +</configuration> ]]> + </code> + </para> + </example><example> + You can update the file using instructions from an external file (specified as the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SubstitutionsFile"/>): + <code> + <![CDATA[<XmlMassUpdate ContentFile="web.config" SubstitutionsFile="changes.xml" ContentRoot="/configuration/system.web" SubstitutionsRoot="/system.web" /> ]]> + </code> + The <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SubstitutionsFile"/> is named changes.xml and contains: + <code> + <![CDATA[<system.web> + <compilation debug="false" /> + <customErrors mode="RemoteOnly" defaultRedirect="Error.htm"> + <error statusCode="401" redirect="AccessDenied.aspx" /> + </customErrors> + <trace enabled="false" /> + </system.web> ]]> + </code> + </example><example> + 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 <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.NamespaceDefinitions"/>: + <code> + <![CDATA[<ProjectExtensions> + <system.web> + <compilation debug="false" /> + <trace enabled="false" /> + </system.web> +</ProjectExtensions> +<Target Name="SubstituteFromProj"> + <XmlMassUpdate ContentFile="web.config" ContentRoot="/configuration/system.web" + NamespaceDefinitions="msb=http://schemas.microsoft.com/developer/msbuild/2003" + SubstitutionsFile="$(MSBuildProjectFullPath)" + SubstitutionsRoot="/msb:Project/msb:ProjectExtensions/msb:system.web" /> +</Target> ]]> + </code> + </example><example> + 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 <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.UpdateControlNamespace"/>. + 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. + <code> + <![CDATA[ <XmlMassUpdate ContentFile="web.config" SubstitutionsFile="changes.xml" MergedFile="web.config.keyed.xml" /> ]]> + </code> + Using a changes.xml file with the following contents: + <code> + <![CDATA[<configuration xmlns:xmu="urn:msbuildcommunitytasks-xmlmassupdate"> + <appSettings> + <add xmu:key="key" key="EnableCaching" value="false" /> + <add xmu:key="key" key="DefaultSort" value="LastName" /> + </appSettings> +</configuration> ]]> + </code> + </example><example> + Use a changes.xml file with the following contents to demonstrate how to remove an element from the updated file: + <code> + <![CDATA[<configuration xmlns:xmu="urn:msbuildcommunitytasks-xmlmassupdate"> + <appSettings> + <add xmu:key="key" key="ItemsPerPage" xmu:action="remove" /> + <trace xmu:action="remove" /> + </appSettings> +</configuration> ]]> + </code> + </example><example> + You can also specify the changes to apply from within the target document. By making use of the <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SubstitutionsRoot"/> property, you can store multiple sets of changes to apply based on runtime conditions. + Consider the following source web.config file: + <code> + <![CDATA[<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.web> + <compilation defaultLanguage="c#" debug="true" /> + <customErrors mode="Off" /> + <trace enabled="true" requestLimit="10" pageOutput="true" /> + <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> + </system.web> + <substitutions> + <test> + <system.web> + <compilation debug="false" /> + <trace enabled="true" /> + </system.web> + </test> + <prod> + <system.web> + <compilation debug="false" /> + <trace enabled="false" /> + </system.web> + </prod> + </substitutions> +</configuration> ]]> + </code> + You could use the following task definition, which relies on a property "TargetEnvironment" to determine which set of changes to apply: + <code> + <![CDATA[ <XmlMassUpdate ContentFile="web.config" ContentRoot="/configuration" SubstitutionsRoot="/configuration/substitutions/$(TargetEnvironment)" /> ]]> + </code> + 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. + <code> + <![CDATA[ msbuild build.proj /p:TargetEnvironment=prod ]]> + </code> + + </example> + </member> + <member name="M:MSBuild.Community.Tasks.Xml.XmlMassUpdate.Execute"> + <summary> + When overridden in a derived class, executes the task. + </summary> + <returns> + True if the task successfully executed; otherwise, false. + </returns> + </member> + <member name="M:MSBuild.Community.Tasks.Xml.XmlMassUpdate.LoadSubstitutionsDocument"> + <summary> + Returns <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SubstitutionsFile"/> as an <see cref="T:System.Xml.XmlDocument"/>. + </summary> + <remarks>This method is not intended for use by consumers. It is exposed for testing purposes.</remarks> + <returns></returns> + </member> + <member name="M:MSBuild.Community.Tasks.Xml.XmlMassUpdate.LoadContentDocument"> + <summary> + Returns <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.ContentFile"/> as an <see cref="T:System.Xml.XmlDocument"/>. + </summary> + <remarks>This method is not intended for use by consumers. It is exposed for testing purposes.</remarks> + <returns></returns> + </member> + <member name="M:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SaveMergedDocument(System.Xml.XmlDocument)"> + <summary> + Creates <see cref="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.MergedFile"/> from the specified <see cref="T:System.Xml.XmlDocument"/> + </summary> + <param name="mergedDocument">The XML to save to a file</param> + <remarks>This method is not intended for use by consumers. It is exposed for testing purposes.</remarks> + <returns></returns> + </member> + <member name="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.ContentFile"> + <summary> + The original file whose content is to be updated + </summary> + <remarks>This task is currently under construction and not necessarily feature complete.</remarks> + </member> + <member name="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SubstitutionsFile"> + <summary> + The file containing the list of updates to perform + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.MergedFile"> + <summary> + The file created after performing the updates + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SubstitutionsRoot"> + <summary> + The XPath expression used to locate the list of substitutions to perform + </summary> + <remarks>When not specified, the default is the document root: <c>/</c> + <para>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 <c>urn:msbuildcommunitytasks-xmlmassupdate</c>. The value of the + attribute is the name of the attribute that should be used as the unique identifier.</para></remarks> + </member> + <member name="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.ContentRoot"> + <summary> + The XPath expression identifying root node that substitions are relative to + </summary> + <remarks>When not specified, the default is the document root: <c>/</c></remarks> + </member> + <member name="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.NamespaceDefinitions"> + <summary> + A collection of prefix=namespace definitions used to query the XML documents + </summary> + <example> + Defining multiple namespaces: + <code> + <![CDATA[ +<XmlMassUpdate ContentFile="web.config" + SubstitutionsRoot="/configuration/substitutions" + NamespaceDefinitions = "soap=http://www.w3.org/2001/12/soap-envelope;x=http://www.w3.org/1999/XSL/Transform"> +/>]]> + </code> + </example> + </member> + <member name="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.ContentPathUsedByTask"> + <summary> + The full path of the file containing content updated by the task + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.SubstitutionsPathUsedByTask"> + <summary> + The full path of the file containing substitutions used by the task + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.MergedPathUsedByTask"> + <summary> + The full path of the file containing the results of the task + </summary> + </member> + <member name="P:MSBuild.Community.Tasks.Xml.XmlMassUpdate.UpdateControlNamespace"> + <summary> + The namespace used for XmlMassUpdate pre-defined attributes + </summary> + <remarks>Evaluates to: <c>urn:msbuildcommunitytasks-xmlmassupdate</c> + <para>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 + a... [truncated message content] |