📄 msbuild.community.tasks.xsd
字号:
<xs:attribute name="Password" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Gets or sets the password.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RemoteUri" type="msb:non_empty_string" use="required">
<xs:annotation>
<xs:documentation>Gets or sets the remote URI to upload.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UsePassive" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] Gets or sets the behavior of a client application's data transfer process.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Username" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Gets or sets the username.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="FxCop" substitutionGroup="msb:Task">
<xs:annotation>
<xs:documentation>Uses FxCop to analyse managed code assemblies and reports on
their design best-practice compliance.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent mixed="false">
<xs:extension base="msb:TaskType">
<xs:attribute name="AnalysisReportFileName" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Specifies the file name for the analysis report.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ApplyOutXsl" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] Applies the XSL transformation specified in /outXsl to the
analysis report before saving the file.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ConsoleXslFileName" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Specifies the XSL or XSLT file that contains a transformation to
be applied to the analysis output before it is displayed in the console.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DependencyDirectories" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Specifies additional directories to search for assembly dependencies.
FxCopCmd always searches the target assembly directory and the current
working directory.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DirectOutputToConsole" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] 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.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ExitCode" />
<xs:attribute name="FailOnError" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] Gets or sets a value indicating whether the build should
fail if static code analysis reports errors. Defaults to
true.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImportFiles" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] 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.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IncludeSummaryReport" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] Includes a summary report with the informational
messages returned by FxCopCmd.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="OutputXslFileName" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Specifies the XSL or XSLT file that is referenced by the
xml-stylesheet processing instruction in the analysis report.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PlatformDirectory" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] 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.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ProjectFile" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Specifies the filename of FxCop project file.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RuleLibraries" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Specifies the filename(s) of FxCop project file(s).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="SaveResults" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] Saves the results of the analysis in the project file.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="TargetAssemblies" type="msb:non_empty_string" use="required">
<xs:annotation>
<xs:documentation>Specifies the target assembly to analyze.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Timeout" />
<xs:attribute name="ToolPath" type="xs:string" />
<xs:attribute name="TypeList" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] 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.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Verbose" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] Gets or sets a value indicating whether the output is verbose.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="WorkingDirectory" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Gets or sets the working directory.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="AppPoolController" substitutionGroup="msb:Task">
<xs:annotation>
<xs:documentation>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.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent mixed="false">
<xs:extension base="msb:TaskType">
<xs:attribute name="Action" type="msb:AppPoolControllerActionsType" use="required">
<xs:annotation>
<xs:documentation>Gets or sets the application pool action.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ApplicationPoolName" type="msb:non_empty_string" use="required">
<xs:annotation>
<xs:documentation>Gets or sets the name of the app pool.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Password" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] 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.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ServerName" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Gets or sets the name of the server. The default value is 'localhost'.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ServerPort" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Gets or sets the server port.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Username" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] 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.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:simpleType name="AppPoolControllerActionsType">
<xs:union memberTypes="msb:non_empty_string">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Start">
<xs:annotation>
<xs:documentation>Start the applicaiton pool</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Stop">
<xs:annotation>
<xs:documentation>Stop the applicaiton pool</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Restart">
<xs:annotation>
<xs:documentation>Restart the applicaiton pool</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Recycle">
<xs:annotation>
<xs:documentation>Recycle the applicaiton pool</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
<xs:element name="AppPoolCreate" substitutionGroup="msb:Task">
<xs:annotation>
<xs:documentation>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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -