Skip to content

Commit 97651a2

Browse files
authored
Add UseArtifactsOutput and ArtifactsPath to XSD (#9681)
* Add UseArtifactsOutput and ArtifactsPath to XSD * Point out the documentation for Artifacts layout * Modify the annotation by the suggestion
1 parent caaccdd commit 97651a2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/MSBuild/MSBuild/Microsoft.Build.CommonTypes.xsd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1962,6 +1962,16 @@ elementFormDefault="qualified">
19621962
<xs:documentation><!-- _locID_text="OutputType" _locComment="" -->Type of output to generate (WinExe, Exe, or Library)</xs:documentation>
19631963
</xs:annotation>
19641964
</xs:element>
1965+
<xs:element name="UseArtifactsOutput" type="msb:boolean" substitutionGroup="msb:Property">
1966+
<xs:annotation>
1967+
<xs:documentation><!-- _locID_text="UseArtifactsOutput" _locComment="" -->Use a centralized location for all outputs of this project. The location of the centralized outputs is set by the ArtifactsPath property. Project outputs are grouped by kind, then by project. See https://learn.microsoft.com/en-us/dotnet/core/sdk/artifacts-output for complete details.</xs:documentation>
1968+
</xs:annotation>
1969+
</xs:element>
1970+
<xs:element name="ArtifactsPath" type="msb:StringPropertyType" substitutionGroup="msb:Property">
1971+
<xs:annotation>
1972+
<xs:documentation><!-- _locID_text="ArtifactsPath" _locComment="" -->The path to use for the centralized outputs - if set, UseArtifactsOutput will be defaulted to true. Project outputs will be placed under this path grouped by kind, then by project. See https://learn.microsoft.com/en-us/dotnet/core/sdk/artifacts-output for complete details.</xs:documentation>
1973+
</xs:annotation>
1974+
</xs:element>
19651975
<xs:element name="PackageOutputPath" substitutionGroup="msb:Property">
19661976
<xs:annotation>
19671977
<xs:documentation><!-- _locID_text="PackageOutputPath" -->Path to the output folder for the package generated when calling Pack.</xs:documentation>

0 commit comments

Comments
 (0)