Skip to content

Commit c5b6ce7

Browse files
tarekghjeffhandley
andauthored
Add .NET 10 Known Configuration Issue (#10146)
* Add .Net 10 Known Configuration Issue * small tweak * Update release-notes/10.0/known-issues.md Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com> * Fix formatting errors --------- Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
1 parent 0143386 commit c5b6ce7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

release-notes/10.0/known-issues.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,13 @@ Up to 10% startup performance regression was identified in .NET 10 runtime, part
7070
Updating .NET 10 preview7, RC1, or RC2 to RTM may fail to set the `PATH` environment variable on Windows. To work around this issue, repair the .NET 10 Installation. If earlier, non-native versions like 5.0 are present, it can result in swapping the path entries for x86 and x64.
7171

7272
See [the GitHub issue](https://github.com/dotnet/sdk/issues/51218) for more details.
73+
74+
## Configuration regression when binding `IEnumerable<T>` property to empty array
75+
76+
Applications that use an empty array configuration such as `"IEnumerableProperty": []` and bind it to an uninitialized property of type `IEnumerable<T>`, `IReadOnlyList<T>`, or `IReadOnlyCollection<T>` will encounter an `ArgumentNullException`. This exception can cause the application to crash if it isn’t properly handled.
77+
78+
See [the GitHub issue](https://github.com/dotnet/runtime/issues/121193) for more details. This issue will be fixed in a future servicing release for .NET 10.
79+
80+
### Available Workarounds
81+
82+
Using a concrete `T[]` array instead of `IEnumerable<T>` for the configuration property works around this issue.

0 commit comments

Comments
 (0)