-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typo fix #1687
Typo fix #1687
Conversation
Typo here as well Refers to: src/MSBuild/Microsoft.Build.CommonTypes.xsd:1804 in c2aac57. [](commit_id = c2aac57, deletion_comment = False) |
@@ -1796,7 +1796,7 @@ elementFormDefault="qualified"> | |||
</xs:element> | |||
<xs:element name="VersionPrefix" type="msb:StringPropertyType" substitutionGroup="msb:Property" > | |||
<xs:annotation> | |||
<xs:documentation><!-- _locID_text="VersionPrefix" _locComment="" -->Prefix that can indicate additional information at the end of the verion (i.e. beta)</xs:documentation> | |||
<xs:documentation><!-- _locID_text="VersionPrefix" _locComment="" -->Prefix that can indicate additional information at the start of the version (i.e. beta)</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i.e. [](start = 154, length = 4)
These are supposed to be e.g. Same goes for the one below
|
@@ -1796,7 +1796,7 @@ elementFormDefault="qualified"> | |||
</xs:element> | |||
<xs:element name="VersionPrefix" type="msb:StringPropertyType" substitutionGroup="msb:Property" > | |||
<xs:annotation> | |||
<xs:documentation><!-- _locID_text="VersionPrefix" _locComment="" -->Prefix that can indicate additional information at the end of the verion (i.e. beta)</xs:documentation> | |||
<xs:documentation><!-- _locID_text="VersionPrefix" _locComment="" -->Prefix that can indicate additional information at the start of the version (i.e. beta)</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at how this is used, I'm not sure this is a good description.
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">1.0.0</VersionPrefix>
<Version Condition=" '$(VersionSuffix)' != '' ">$(VersionPrefix)-$(VersionSuffix)</Version>
<Version Condition=" '$(Version)' == '' ">$(VersionPrefix)</Version>
So maybe this should be Initial part of the version number, for example 1.0.0
?
@nguerrera @eerhardt y'all seem to have been the ones to touch this in the SDK, do you have opinions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed this is not a good description for this property.
This is the best documentation I can find that explains these properties: https://github.com/dotnet/cli/issues/5573#issuecomment-277377729
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about:
- VersionPrefix: When
Version
is not specified,VersionPrefix
represents the first fragment of the version number (e.g. 1.0.0). The syntax is<VersionPrefix>[-<VersionSuffix>]
- VersionSuffix: Optional. When
Version
is not specified,VersionSuffix
represents the second fragment of the version number (e.g. beta). The syntax is<VersionPrefix>[-<VersionSuffix>]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable to me . . .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@RaulPerez1 we changed the description for |
Looks good to me. |
@RaulPerez1 |
@@ -1796,12 +1796,12 @@ elementFormDefault="qualified"> | |||
</xs:element> | |||
<xs:element name="VersionPrefix" type="msb:StringPropertyType" substitutionGroup="msb:Property" > | |||
<xs:annotation> | |||
<xs:documentation><!-- _locID_text="VersionPrefix" _locComment="" -->Prefix that can indicate additional information at the end of the verion (i.e. beta)</xs:documentation> | |||
<xs:documentation><!-- _locID_text="VersionPrefix" _locComment="" --> When Version is not specified, VersionPrefix represents the first fragment of the version string (e.g. 1.0.0). The syntax is VersionPrefix[-VersionSuffix].</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: leading space.
Thumbs up! |
No description provided.