Skip to the content
The Update Bureau
.NET Framework 3.5 / 4.8.1 .NET Framework 3.5 / 4.8.1 Optional preview
Preview

KB5050577

KB5050577: Cumulative update for .NET Framework, versions 3.5 and 4.8.1, on Windows 11 24H2, January 2025. Opt-in WPF change addresses memory errors in large print jobs

In short

An opt-in WPF setting addresses an OutOfMemory exception when printing many pages. The fix must be enabled in the app.config file.

Does it affect you? Applies to: Devices running Windows 11, version 24H2, with .NET Framework 3.5 or 4.8.1 installed. The update is available for x64 and Arm64.

File version
2.0.50727.9179 · 4.8.9297.0
Restart
Required

What changes

Fix 1 change

WPF

Verified in package

For: WPF apps that print many pages

  • An opt-in setting addresses an OutOfMemory exception when printing many pages in WPF apps.1
    Enable the fix by adding <runtime><AppContextSwitchOverrides value="Switch.System.Windows.Controls.ReleaseDiscardableFontReasources=true"/></runtime> to the app.config file.

Technical details

Data sheet · Security · Downloads · Components Click to collapse or expand

Data sheet

Released
2025-01-28
Classification
Updates
Type
Cumulative update
Restart
Required
Replaces
KB5048162, KB5045934
Replaced by
KB5054979
VersionFile versionChannel
3.5 2.0.50727.9179 General availability
4.8.1 4.8.9297.0 General availability

Security

No vulnerabilities are listed for this update.

Updated components

53 files changed since the previous update for the same versions.

Top changed componentsFiles
WPF24
Windows Forms2

Verified in package: changed files confirm WPF.

Sources

Updated
Cited passages from Microsoft's official notes (1)
  1. 1. Addresses an issue with printing large number of pages due to an OutOfMemory exception. This is an opt-in improvement support.microsoft.com
Checked automatically: 8 of 8 checks passed, 1 quoted passage · compared with Microsoft's page on Oct 20, 2026
  • Quotes found in the official pages: passed
  • Numbers found in the sources: passed
  • Vulnerabilities from the dossier only: passed
  • Links to allowed domains only: passed
  • Every official change covered: passed
  • Readable plain text: passed
  • Changes confirmed by the file list: passed
  • Sources agree: passed

A second AI read the text against the sources: correctness 5/5, clarity 4/5, completeness 5/5. How we work

Published by The Update Bureau. Written with AI from Microsoft's own documents, checked by rules and a second AI. How we work · Report a mistake