title | description | ms.date | author |
---|---|---|---|
Retargeting changes for migration to .NET Framework 4.6.x |
Find information about application compatibility issues that might affect your app when migrating to .NET Framework 4.6.x. |
07/31/2023 |
chlowell |
This article lists the app compatibility issues that were introduced in .NET Framework 4.6, 4.6.1, and 4.6.2.
[!INCLUDEHtmlTextWriter does not render <br/>
element correctly]
[!INCLUDEApps published with ClickOnce that use a SHA-256 code-signing certificate may fail on Windows 2003]
[!INCLUDEClickOnce supports SHA-256 on 4.0-targeted apps]
[!INCLUDECurrentCulture and CurrentUICulture flow across tasks]
[!INCLUDEETW event names cannot differ only by a "Start" or "Stop" suffix]
[!INCLUDEIL ret not allowed in a try region]
[!INCLUDENew 64-bit JIT compiler in the .NET Framework 4.6]
[!INCLUDECertificate EKU OID validation]
[!INCLUDETLS 1.x by default passes the SCH_SEND_AUX_RECORD flag to the underlying SCHANNEL API]
[!INCLUDECalling CreateDefaultAuthorizationContext with a null argument has changed]
[!INCLUDEIcon.ToBitmap successfully converts icons with PNG frames into Bitmap objects]
[!INCLUDECurrentCulture is not preserved across WPF Dispatcher operations]
[!INCLUDEWPF layout rounding of margins has changed]
[!INCLUDEXmlWriter throws on invalid surrogate pairs]
[!INCLUDEChange in path separator character in FullName property of ZipArchiveEntry objects]
[!INCLUDEWCF binding with the TransportWithMessageCredential security mode]
[!INCLUDEX509CertificateClaimSet.FindClaims Considers All claimTypes]
[!INCLUDEHttpRuntime.AppDomainAppPath Throws a NullReferenceException]
[!INCLUDEAesCryptoServiceProvider decryptor provides a reusable transform]
[!INCLUDECalls to ClaimsIdentity constructors]
[!INCLUDEChanges in path normalization]
[!INCLUDECurrentCulture and CurrentUICulture flow across tasks]
[!INCLUDEETW event names cannot differ only by a "Start" or "Stop" suffix]
[!INCLUDELong path support]
[!INCLUDEPath colon checks are stricter]
[!INCLUDERSACng now correctly loads RSA keys of non-standard key size]
[!INCLUDESignedXml.GetPublicKey returns RSACng on net462 (or lightup) without retargeting change]
[!INCLUDEDeadlock may result when using Reentrant services]
[!INCLUDEOperationContext.Current may return null when called in a using clause]
[!INCLUDEWCF transport security supports certificates stored using CNG]
[!INCLUDEIncorrect implementation of MemberDescriptor.Equals]
[!INCLUDECurrentCulture is not preserved across WPF Dispatcher operations]