-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add doc for InvariantGlobalization property #8543
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -6173,5 +6173,11 @@ elementFormDefault="qualified"> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</xs:complexContent> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</xs:complexType> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</xs:element> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<xs:element name="InvariantGlobalization" type="msb:boolean" substitutionGroup="msb:Property"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<xs:annotation> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<xs:documentation><!-- _locID_text="InvariantGlobalization" _locComment="" -->Indicates whether an app runs in globalization-invariant mode without access to culture-specific data and behavior.</xs:documentation> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (nit) Do we need to specify it is a ".NET Core app" (or whatever the name of that is now days)? This property doesn't work for a .NET Framework application. https://learn.microsoft.com/en-us/dotnet/core/runtime-config/globalization#invariant-mode
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we have such qualifications for other properties defined here that are only applicable in modern .NET apps? We wouldn't say ".NET Core" in documentation now either. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All these properties don't work in .NET Framework either: msbuild/src/MSBuild/MSBuild/Microsoft.Build.CommonTypes.xsd Lines 2362 to 2393 in 1a6d753
Interestingly, they all refer to "the project" and not an "app". I think what we have here is fine. Just wanted to check if the qualification was needed or not. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</xs:annotation> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</xs:element> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</xs:schema> |
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.
imo it's clearer
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 did this to follow the pattern in other documented boolean-style properties. They all use "Indicates". The notable exception being
Using_Static
which starts with "Determines."