Skip to content

Commit 5703057

Browse files
author
Cam Soper
committed
issue 43828
1 parent 65818cd commit 5703057

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

docs/core/compatibility/10.0.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ If you're migrating an app to .NET 10, the breaking changes listed here might af
2424
| [C# 14 overload resolution with span parameters](core-libraries/10.0/csharp-overload-resolution.md) | Behavioral change | Preview 1 |
2525
| [LDAP DirectoryControl parsing is now more stringent](core-libraries/10.0/ldap-directorycontrol-parsing.md) | Behavioral change | Preview 1 |
2626

27+
## Globalization
28+
29+
| Title | Type of change | Introduced version |
30+
|-------------------------------------------------------------------------------------------------------|-------------------|--------------------|
31+
| [Environment variable renamed to DOTNET_ICU_VERSION_OVERRIDE](globalization/10.0/version-override.md) | Behavioral change | Preview 1 |
32+
2733
## Windows Forms
2834

2935
| Title | Type of change | Introduced version |
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: "Breaking change: Environment variable renamed to DOTNET_ICU_VERSION_OVERRIDE"
3+
description: Learn about the .NET 10 breaking change in core .NET libraries where the environment variable CLR_ICU_VERSION_OVERRIDE was renamed to DOTNET_ICU_VERSION_OVERRIDE.
4+
ms.date: 01/30/2025
5+
---
6+
# Environment variable renamed to DOTNET_ICU_VERSION_OVERRIDE
7+
8+
.NET has previously supported a configuration switch environment variable called `CLR_ICU_VERSION_OVERRIDE`, which allows users to specify the preferred ICU library version for apps running on Linux. In .NET 10, this environment variable has been renamed to `DOTNET_ICU_VERSION_OVERRIDE` to align with the naming convention of other configuration switch environment variables in .NET.
9+
10+
## Previous behavior
11+
12+
The `CLR_ICU_VERSION_OVERRIDE` environment variable is used to specify the preferred ICU version to be loaded in the application.
13+
14+
## New behavior
15+
16+
The `DOTNET_ICU_VERSION_OVERRIDE` environment variable is used to specify the preferred ICU version to be loaded in the application.
17+
18+
## Version introduced
19+
20+
.NET 10 Preview 1
21+
22+
## Type of breaking change
23+
24+
This change is a [behavioral change](../../categories.md#behavioral-change).
25+
26+
## Reason for change
27+
28+
This change ensures the environment variable is consistent with the naming convention used for all .NET environment variables.
29+
30+
## Recommended action
31+
32+
Users running .NET 10 apps who previously used the `CLR_ICU_VERSION_OVERRIDE` environment variable will now need to use `DOTNET_ICU_VERSION_OVERRIDE` instead.

docs/core/compatibility/toc.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ items:
1818
href: core-libraries/10.0/csharp-overload-resolution.md
1919
- name: LDAP DirectoryControl parsing is now more stringent
2020
href: core-libraries/10.0/ldap-directorycontrol-parsing.md
21+
- name: Globalization
22+
items:
23+
- name: Environment variable renamed to DOTNET_ICU_VERSION_OVERRIDE
24+
href: globalization/10.0/version-override.md
2125
- name: Windows Forms
2226
items:
2327
- name: TreeView checkbox image truncation
@@ -1690,6 +1694,10 @@ items:
16901694
href: extensions/6.0/service-provider-disposed.md
16911695
- name: Globalization
16921696
items:
1697+
- name: .NET 10
1698+
items:
1699+
- name: Environment variable renamed to DOTNET_ICU_VERSION_OVERRIDE
1700+
href: globalization/10.0/version-override.md
16931701
- name: .NET 8
16941702
items:
16951703
- name: Date and time converters honor culture argument

0 commit comments

Comments
 (0)