Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .openpublishing.redirection.core.json
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,10 @@
"source_path_from_root": "/docs/core/compatibility/core-libraries/8.0/indexofanyvalues-renamed.md",
"redirect_url": "/dotnet/core/compatibility/8.0"
},
{
"source_path_from_root": "/docs/core/compatibility/core-libraries/8.0/drive-current-dir-paths.md",
"redirect_url": "/dotnet/core/compatibility/core-libraries/9.0/drive-current-dir-paths"

Check failure on line 499 in .openpublishing.redirection.core.json

View workflow job for this annotation

GitHub Actions / MSDocs build verifier

Redirect target returns 404: '/dotnet/core/compatibility/core-libraries/9.0/drive-current-dir-paths'.
},
{
"source_path_from_root": "/docs/core/compatibility/core-libraries/8.0/optimizeforreading-arg.md",
"redirect_url": "/dotnet/core/compatibility/8.0"
Expand Down
1 change: 0 additions & 1 deletion docs/core/compatibility/8.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ See [Breaking changes in ASP.NET Core 8](/aspnet/core/breaking-changes/8/overvie
| [Base64.DecodeFromUtf8 methods ignore whitespace](core-libraries/8.0/decodefromutf8-whitespace.md) | Behavioral change |
| [Boolean-backed enum type support removed](core-libraries/8.0/bool-backed-enum.md) | Behavioral change |
| [Complex.ToString format changed to `<a; b>`](core-libraries/8.0/complex-format.md) | Behavioral change |
| [Drive's current directory path enumeration](core-libraries/8.0/drive-current-dir-paths.md) | Behavioral change |
| [Enumerable.Sum throws new OverflowException for some inputs](core-libraries/8.0/enumerable-sum.md) | Behavioral change |
| [FileStream writes when pipe is closed](core-libraries/8.0/filestream-disposed-pipe.md) | Behavioral change |
| [FindSystemTimeZoneById doesn't return new object](core-libraries/8.0/timezoneinfo-object.md) | Behavioral change |
Expand Down
1 change: 1 addition & 0 deletions docs/core/compatibility/9.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ See [Breaking changes in ASP.NET Core 9](/aspnet/core/breaking-changes/9/overvie
| [C# overload resolution prefers `params` span-type overloads](core-libraries/9.0/params-overloads.md) | Source incompatible | |
| [Creating type of array of System.Void not allowed](core-libraries/9.0/type-instance.md) | Behavioral change | Preview 1 |
| [Default `Equals()` and `GetHashCode()` throw for types marked with `InlineArrayAttribute`](core-libraries/9.0/inlinearrayattribute.md) | Behavioral change | Preview 6 |
| [Drive's current directory path enumeration](core-libraries/9.0/drive-current-dir-paths.md) | Behavioral change | Preview 1 |
| [EnumConverter validates registered types to be enum](core-libraries/9.0/enumconverter.md) | Behavioral change | Preview 7 |
| [FromKeyedServicesAttribute no longer injects non-keyed parameter](core-libraries/9.0/non-keyed-params.md) | Behavioral change | RC 1 |
| [IncrementingPollingCounter initial callback is asynchronous](core-libraries/9.0/async-callback.md) | Behavioral change | RC 1 |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Breaking change: Drive's current directory path enumeration"
description: Learn about the .NET 8 breaking change in core .NET libraries where files are enumerated without a separator after the path when the path is the drive's current directory.
description: Learn about the .NET 9 breaking change in core .NET libraries where files are enumerated without a separator after the path when the path is the drive's current directory.
ms.date: 02/09/2024
---
# Drive's current directory path enumeration
Expand Down Expand Up @@ -39,7 +39,7 @@ C:\Program.cs

## New behavior

Running the same code snippet in .NET 8 and later versions produces output without a separator character in each path.
Running the same code snippet in .NET 9 and later versions produces output without a separator character in each path.

```output
Full path of "C:" is C:\Users\myalias\consoleapps\Program.
Expand All @@ -54,7 +54,7 @@ C:Program.cs

## Version introduced

.NET 8
.NET 9

## Type of breaking change

Expand Down
4 changes: 2 additions & 2 deletions docs/core/compatibility/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ items:
href: core-libraries/9.0/params-overloads.md
- name: Creating type of array of System.Void not allowed
href: core-libraries/9.0/type-instance.md
- name: Drive's current directory path enumeration
href: core-libraries/9.0/drive-current-dir-paths.md
- name: EnumConverter validates registered types to be enum
href: core-libraries/9.0/enumconverter.md
- name: "`Equals`/`GetHashCode` throw for `InlineArrayAttribute` types"
Expand Down Expand Up @@ -492,8 +494,6 @@ items:
href: core-libraries/8.0/bool-backed-enum.md
- name: Complex.ToString format changed to `<a; b>`
href: core-libraries/8.0/complex-format.md
- name: Drive's current directory path enumeration
href: core-libraries/8.0/drive-current-dir-paths.md
- name: Enumerable.Sum throws new OverflowException for some inputs
href: core-libraries/8.0/enumerable-sum.md
- name: FileStream writes when pipe is closed
Expand Down
Loading