Skip to content

Upgrade projects to target .NET 10 (System.Globalization)#12791

Open
gewarren wants to merge 2 commits into
dotnet:mainfrom
gewarren:upgrade-csharp-set8
Open

Upgrade projects to target .NET 10 (System.Globalization)#12791
gewarren wants to merge 2 commits into
dotnet:mainfrom
gewarren:upgrade-csharp-set8

Conversation

@gewarren

Copy link
Copy Markdown
Collaborator

Contributes to #12513.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the System.Globalization C# snippet projects to target .NET 10 so the snippet compilation pipeline stays aligned with newer runtimes and supports the ongoing cleanup work for removing legacy/.NET Framework-specific content (Issue #12513).

Changes:

  • Updated many snippets/csharp/System.Globalization/**/Project.csproj files to target net10.0.
  • Updated a remaining .NET Framework-targeting snippet project (net481) to net10.0.
  • Normalized a few projects that were already on newer TFMs (for example net8.0/net9.0) up to net10.0.

Reviewed changes

Copilot reviewed 156 out of 156 changed files in this pull request and generated no comments.

Show a summary per file
File Description
snippets/csharp/System.Globalization/UnicodeCategory/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/UmAlQuraCalendar/IsLeapYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/UmAlQuraCalendar/GetMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/UmAlQuraCalendar/GetDaysInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/ThaiBuddhistCalendar/IsLeapYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/ThaiBuddhistCalendar/IsLeapMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/ThaiBuddhistCalendar/IsLeapDay/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/ThaiBuddhistCalendar/GetMonthsInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/ThaiBuddhistCalendar/GetDaysInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/ThaiBuddhistCalendar/GetDaysInMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/TextInfo/ToTitleCase/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/TextInfo/Clone/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/TextElementEnumerator/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/TaiwanCalendar/IsLeapYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/TaiwanCalendar/IsLeapMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/TaiwanCalendar/IsLeapDay/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/TaiwanCalendar/GetMonthsInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/TaiwanCalendar/GetDaysInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/TaiwanCalendar/GetDaysInMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/StringInfo/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/SortVersion/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/SortKey/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/SortKey/KeyData/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/SortKey/Equals/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/SortKey/Compare/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/RegionInfo/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/RegionInfo/CurrencyEnglishName/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/PersianCalendar/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberStyles/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/PercentGroupSizes/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/PercentGroupSeparator/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/PercentDecimalSeparator/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/PercentDecimalDigits/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/NumberNegativePattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/NumberGroupSizes/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/NumberGroupSeparator/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/NumberDecimalSeparator/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/NumberDecimalDigits/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/NegativeSign/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/NativeDigits/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/InvariantInfo/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/CurrentInfo/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/CurrencySymbol/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyGroupSizes/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyGroupSeparator/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyDecimalSeparator/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyDecimalDigits/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyDecimalDigits/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/NumberFormatInfo/Clone/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/KoreanCalendar/MaxSupportedDateTime/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/KoreanCalendar/IsLeapYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/KoreanCalendar/IsLeapMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/KoreanCalendar/IsLeapDay/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/KoreanCalendar/GetMonthsInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/KoreanCalendar/GetDaysInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/KoreanCalendar/GetDaysInMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JulianCalendar/MaxSupportedDateTime/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JulianCalendar/IsLeapYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JulianCalendar/IsLeapMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JulianCalendar/IsLeapDay/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JulianCalendar/GetMonthsInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JulianCalendar/GetDaysInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JulianCalendar/GetDaysInMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JulianCalendar/AddMonths/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JapaneseCalendar/IsLeapYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JapaneseCalendar/IsLeapMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JapaneseCalendar/IsLeapDay/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JapaneseCalendar/GetMonthsInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JapaneseCalendar/GetDaysInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JapaneseCalendar/GetDaysInMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/JapaneseCalendar.ToDateTime/todatetime.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/IdnMapping/UseStd3AsciiRules/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/IdnMapping/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/IdnMapping/GetAscii/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HijriCalendar/MaxSupportedDateTime/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HijriCalendar/IsLeapYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HijriCalendar/IsLeapMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HijriCalendar/IsLeapDay/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HijriCalendar/HijriAdjustment/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HijriCalendar/GetMonthsInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HijriCalendar/GetDaysInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HijriCalendar/GetDaysInMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HijriCalendar/AddMonths/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HebrewCalendar/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HebrewCalendar/MaxSupportedDateTime/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HebrewCalendar/IsLeapYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HebrewCalendar/IsLeapMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HebrewCalendar/IsLeapDay/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HebrewCalendar/GetMonthsInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HebrewCalendar/GetDaysInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HebrewCalendar/GetDaysInMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/GregorianCalendar/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/GregorianCalendar/MaxSupportedDateTime/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/GregorianCalendar/IsLeapYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/GregorianCalendar/IsLeapMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/GregorianCalendar/IsLeapDay/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/GregorianCalendar/GetMonthsInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/GregorianCalendar/GetDaysInYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/GregorianCalendar/GetDaysInMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/GregorianCalendar/.ctor/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/YearMonthPattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/UniversalSortableDateTimePattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/TimeSeparator/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/SortableDateTimePattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/ShortTimePattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/ShortDatePattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/SetAllDateTimePatterns/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/RFC1123Pattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/MonthDayPattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/LongTimePattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/LongDatePattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/GetShortestDayName/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/GetEra/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/FullDateTimePattern/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/DateSeparator/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/CurrentInfo/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/Calendar/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/DateTimeFormatInfo/AbbreviatedDayNames/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CultureInfo/TwoLetterISOLanguageName/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CultureInfo/Parent/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CultureInfo/Overview/project.csproj Update snippet project from net481 to net10.0.
snippets/csharp/System.Globalization/CultureInfo/OptionalCalendars/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CultureInfo/IsReadOnly/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CultureInfo/IsNeutralCulture/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CultureInfo/InvariantCulture/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CultureInfo/GetConsoleFallbackUICulture/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CultureInfo/DisplayName/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CultureInfo/CultureTypes/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CultureInfo/CreateSpecificCulture/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CultureInfo/Clone/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CompareOptions/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CompareInfo/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CharUnicodeInfo/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CharUnicodeInfo/GetNumericValue/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CalendarWeekRule/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/CalendarAlgorithmType/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/Calendar/Overview/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/Calendar/Eras/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/Calendar/AlgorithmType/Project.csproj Update snippet project to target net10.0.
snippets/csharp/System.Globalization/Calendar/AddDays/Project.csproj Update snippet project to target net10.0.

@gewarren gewarren marked this pull request as ready for review June 25, 2026 00:49
@gewarren gewarren requested a review from a team as a code owner June 25, 2026 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants