Edit

Share via


Breaking changes in .NET 11

If you're migrating an app to .NET 11, the breaking changes listed here might affect you. Changes are grouped by technology area, such as ASP.NET Core or Windows Forms.

This article categorizes each breaking change as binary incompatible or source incompatible, or as a behavioral change:

  • Binary incompatible - When run against the new runtime or component, existing binaries may encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.

  • Source incompatible - When recompiled using the new SDK or component or to target the new runtime, existing source code may require source changes to compile successfully.

  • Behavioral change - Existing code and binaries may behave differently at runtime. If the new behavior is undesirable, existing code would need to be updated and recompiled.

Note

This article is a work in progress. It's not a complete list of breaking changes in .NET 11.

Core .NET libraries

Title Type of change
Environment.TickCount made consistent with Windows timeout behavior Behavioral change
MemoryStream maximum capacity updated and exception behavior changed Behavioral change

Globalization

Title Type of change
Japanese Calendar minimum supported date corrected Behavioral change