vcruntime140_clr0400.dll Error in Windows 10 and 11: Managed C++ startup errors

A managed Windows app reports vcruntime140_clr0400.dll during initialization after an update.
What this DLL does
This filename is associated with a Visual C++ runtime variant used by particular .NET Framework-related components.
Start with this check
Check whether another supported app starts under the expected Framework and whether the update was completed. Preserve the complete error and path.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
Choose the repair that fits
Repair or restore the vendor’s matching distribution. For an incomplete Windows update use supported servicing, retaining the installed versions required by unrelated applications.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Launch the original app from its normal shortcut and exercise a representative task.
For a related check, see ucrtbase-clr0400.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: Microsoft’s .NET Framework dependency guidance.