Skip to content

Commit

Permalink
Adding xsd properties for AssetTargetFallback and Nullable. (#4840)
Browse files Browse the repository at this point in the history
* Adding xsd properties for AssetTargetFallback and Nullable.

* Addressing code review comments.
  • Loading branch information
Livar authored Oct 22, 2019
1 parent 321ea29 commit 72f86ff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/MSBuild/Microsoft.Build.CommonTypes.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1632,6 +1632,16 @@ elementFormDefault="qualified">
<xs:documentation><!-- _locID_text="PackageTargetFallback" _locComment="" -->Allows packages using alternative monikers to be referenced in this project, which include older (e.g. dnxcore50, dotnet5.x) and Portable Class Library names.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AssetTargetFallback" type="msb:StringPropertyType" substitutionGroup="msb:Property">
<xs:annotation>
<xs:documentation><!-- _locID_text="AssetTargetFallback" _locComment="" -->Can be set to one or more target framework monikers. When determining package compatibility, if the package does not have compatible assets for the project's real target framework, compatibility will be rechecked using each target framework from the AssetTargetFramework project of the referencing project.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Nullable" substitutionGroup="msb:Property">
<xs:annotation>
<xs:documentation><!-- _locID_text="Nullable" _locComment="" -->Set the nullable annotations and warnings context for the C# project. Possible values are enable, disable, warnings and annotations.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Platform" type="msb:StringPropertyType" substitutionGroup="msb:Property"/>
<xs:element name="PlatformName" type="msb:StringPropertyType" substitutionGroup="msb:Property"/>
<xs:element name="PlatformFamilyName" type="msb:StringPropertyType" substitutionGroup="msb:Property"/>
Expand Down

0 comments on commit 72f86ff

Please sign in to comment.