Remove Net5CompatFileStreamStrategy in .NET 7 early previews #55196
Labels
area-System.IO
breaking-change
Issue or PR that represents a breaking API or functional change over a prerelease.
Milestone
For .NET 6, we have made
FileStream
much faster and more reliable, thanks to an almost entire re-write. The rewrite has introduced two breaking changes. We assumed that it might have introduced bugs as well. Because of that, .NET 6 shipped with a built-inFileStream
.NET 5 compatibility mode which users could request by using an app compat switch or an environment variable.Our assumptions were right, the rewrite has introduced some edge-case bugs. All of the reported issues are already fixed:
Since currently there are no known
FileStream
bugs introduced in .NET 6, the .NET 5 FileStream compatibility mode was removed. This change is included in .NET 7 preview 1.Please let us know if there is any scenario that can’t be implemented in .NET 7 without using the .NET 5 compatibility mode.
The text was updated successfully, but these errors were encountered: