Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (43 sloc) 5.87 KB
title ms.date ms.assetid author
Runtime Changes for Migration from .NET Framework 4.5.2 to 4.6
07/10/2019
18cae806-020b-4db5-8113-e09ae6bbc06a
chlowell

Runtime Changes for Migration from .NET Framework 4.5.2 to 4.6

[!INCLUDEversionselector]

If you are migrating from the .NET Framework 4.5.2 to 4.6, review the following topics for application compatibility issues that may affect your app:

ASP.NET

[!INCLUDEGridViews with AllowCustomPaging set to true may fire the PageIndexChanging event when leaving the final page of the view]

Core

[!INCLUDEA ConcurrentDictionary serialized in .NET Framework 4.5 with NetDataContractSerializer cannot be deserialized by .NET Framework 4.5.1 or 4.5.2]

[!INCLUDEAppDomainSetup.DynamicBase is no longer randomized by UseRandomizedStringHashAlgorithm]

[!INCLUDECalling Attribute.GetCustomAttributes on an indexer property no longer throws AmbiguousMatchException if the ambiguity can be resolved by index's type]

[!INCLUDECOR_PRF_GC_ROOT_HANDLEs are not being enumerated by profilers]

[!INCLUDEETW EventListeners do not capture events from providers with explicit keywords (like the TPL provider)]

[!INCLUDEPersian calendar now uses the Hijri solar algorithm]

[!INCLUDEReflection objects can no longer be passed from managed code to out-of-process DCOM clients]

[!INCLUDETargetFrameworkName for default app domain no longer defaults to null if not set]

[!INCLUDEX509Certificate2.ToString(Boolean) does not throw now when .NET cannot handle the certificate]

Data

[!INCLUDEAttempting a TCP/IP connection to a SQL Server database that resolves to localhost fails]

Debugger

[!INCLUDENull coalescer values are not visible in debugger until one step later]

Networking

[!INCLUDEContentDisposition DateTimes returns slightly different string]

Serialization

[!INCLUDEException message has changed for failed DataContract serialization in case of an unknown type]

Setup and Deployment

[!INCLUDEProduct versioning changes in the .NET Framework 4.6 and later versions]

[!INCLUDEThe .NET Framework 4.6 does not use a 4.5.x.x version when registering itself in the registry]

Windows Communication Foundation (WCF)

[!INCLUDEWCF services that use NETTCP with SSL security and MD5 certificate authentication]

Windows Presentation Foundation (WPF)

[!INCLUDEAccessing a WPF DataGrid's selected items from a handler of the DataGrid's UnloadingRow event can cause a NullReferenceException]

[!INCLUDECalling Items.Refresh on a WPF ListBox, ListView, or DataGrid with items selected can cause duplicate items to appear in the element]

[!INCLUDECoerceIsSelectionBoxHighlighted]

[!INCLUDEListBoxItem IsSelected binding issue with ObservableCollection<T>.Move]

[!INCLUDERight clicking on a WPF DataGrid row header changes the DataGrid selection]

[!INCLUDEWPF spawns a wisptis.exe process which can freeze the mouse]

[!INCLUDEWPF spell checking in text-enabled controls will not work in Windows 10 for languages not in the OS's input language list]

[!INCLUDEWPF windows are rendered without clipping when extending outside a single monitor]

You can’t perform that action at this time.