You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are migrating from the .NET Framework 4.0 to 4.5.1, review the following topics for application compatibility issues that may affect your app:
16
16
17
17
## ADO.NET
18
18
19
-
[!include[DbParameter.Precision and DbParameter.Scale are now public virtual members](~/includes/migration-guide/retargeting/adonet/dbparameterprecision-dbparameterscale-are-now-public-virtual-members.md)]
19
+
[!INCLUDE[DbParameter.Precision and DbParameter.Scale are now public virtual members](~/includes/migration-guide/retargeting/adonet/dbparameterprecision-dbparameterscale-are-now-public-virtual-members.md)]
20
20
21
21
## ASP.NET
22
22
23
-
[!include[MachineKey.Encode and MachineKey.Decode methods are now obsolete](~/includes/migration-guide/retargeting/asp/machinekeyencode-machinekeydecode-methods-are-now-obsolete.md)]
23
+
[!INCLUDE[MachineKey.Encode and MachineKey.Decode methods are now obsolete](~/includes/migration-guide/retargeting/asp/machinekeyencode-machinekeydecode-methods-are-now-obsolete.md)]
24
24
25
-
[!include[Multi-line ASP.Net TextBox spacing changed when using AntiXSSEncoder](~/includes/migration-guide/retargeting/asp/multi-line-aspnet-textbox-spacing-changed-when-using-antixssencoder.md)]
25
+
[!INCLUDE[Multi-line ASP.Net TextBox spacing changed when using AntiXSSEncoder](~/includes/migration-guide/retargeting/asp/multi-line-aspnet-textbox-spacing-changed-when-using-antixssencoder.md)]
26
26
27
-
[!include[WebUtility.HtmlEncode and WebUtility.HtmlDecode round-trip BMP correctly](~/includes/migration-guide/retargeting/asp/webutilityhtmlencode-webutilityhtmldecode-round-trip-bmp-correctly.md)]
27
+
[!INCLUDE[WebUtility.HtmlEncode and WebUtility.HtmlDecode round-trip BMP correctly](~/includes/migration-guide/retargeting/asp/webutilityhtmlencode-webutilityhtmldecode-round-trip-bmp-correctly.md)]
28
28
29
29
## ClickOnce
30
30
31
-
[!include[Apps published with ClickOnce that use a SHA-256 code-signing certificate may fail on Windows 2003](~/includes/migration-guide/retargeting/clickonce/apps-published-with-clickonce-that-use-sha-256-code-signing-certificate-may.md)]
31
+
[!INCLUDE[Apps published with ClickOnce that use a SHA-256 code-signing certificate may fail on Windows 2003](~/includes/migration-guide/retargeting/clickonce/apps-published-with-clickonce-that-use-sha-256-code-signing-certificate-may.md)]
32
32
33
33
## Core
34
34
35
-
[!include[Foreach iterator variable is now scoped within the iteration, so closure capturing semantics are different (in C#5)](~/includes/migration-guide/retargeting/core/foreach-iterator-variable-now-scoped-within-iteration-so-closure-capturing.md)]
35
+
[!INCLUDE[Foreach iterator variable is now scoped within the iteration, so closure capturing semantics are different (in C#5)](~/includes/migration-guide/retargeting/core/foreach-iterator-variable-now-scoped-within-iteration-so-closure-capturing.md)]
36
36
37
-
[!include[IAsyncResult.CompletedSynchronously property must be correct for the resulting task to complete](~/includes/migration-guide/retargeting/core/iasyncresultcompletedsynchronously-property-must-be-correct-for-resulting.md)]
37
+
[!INCLUDE[IAsyncResult.CompletedSynchronously property must be correct for the resulting task to complete](~/includes/migration-guide/retargeting/core/iasyncresultcompletedsynchronously-property-must-be-correct-for-resulting.md)]
38
38
39
-
[!include[List<T>.ForEach can throw exception when modifying list item](~/includes/migration-guide/retargeting/core/listlttgtforeach-can-throw-exception-when-modifying-list-item.md)]
39
+
[!INCLUDE[List<T>.ForEach can throw exception when modifying list item](~/includes/migration-guide/retargeting/core/listlttgtforeach-can-throw-exception-when-modifying-list-item.md)]
40
40
41
-
[!include[ObsoleteAttribute exports as both ObsoleteAttribute and DeprecatedAttribute in WinMD scenarios](~/includes/migration-guide/retargeting/core/obsoleteattribute-exports-both-deprecatedattribute-winmd-scenarios.md)]
41
+
[!INCLUDE[ObsoleteAttribute exports as both ObsoleteAttribute and DeprecatedAttribute in WinMD scenarios](~/includes/migration-guide/retargeting/core/obsoleteattribute-exports-both-deprecatedattribute-winmd-scenarios.md)]
42
42
43
-
[!include[System.Uri parsing adheres to RFC 3987](~/includes/migration-guide/retargeting/core/systemuri-parsing-adheres-rfc-3987.md)]
43
+
[!INCLUDE[System.Uri parsing adheres to RFC 3987](~/includes/migration-guide/retargeting/core/systemuri-parsing-adheres-rfc-3987.md)]
44
44
45
-
[!include[System.Uri.IsWellFormedUriString method returns false for relative URIs with a colon char in first segment](~/includes/migration-guide/retargeting/core/systemuriiswellformeduristring-method-returns-false-for-relative-uris-with.md)]
45
+
[!INCLUDE[System.Uri.IsWellFormedUriString method returns false for relative URIs with a colon char in first segment](~/includes/migration-guide/retargeting/core/systemuriiswellformeduristring-method-returns-false-for-relative-uris-with.md)]
46
46
47
47
## Entity Framework
48
48
49
-
[!include[Building an Entity Framework edmx with Visual Studio 2013 can fail with error MSB4062 if using the EntityDeploySplit or EntityClean tasks](~/includes/migration-guide/retargeting/ef/building-an-entity-framework-edmx-with-visual-studio-2013-can-fail-error.md)]
49
+
[!INCLUDE[Building an Entity Framework edmx with Visual Studio 2013 can fail with error MSB4062 if using the EntityDeploySplit or EntityClean tasks](~/includes/migration-guide/retargeting/ef/building-an-entity-framework-edmx-with-visual-studio-2013-can-fail-error.md)]
50
50
51
-
[!include[Entity Framework version must match the .NET Framework version](~/includes/migration-guide/retargeting/ef/entity-framework-version-must-match-net.md)]
51
+
[!INCLUDE[Entity Framework version must match the .NET Framework version](~/includes/migration-guide/retargeting/ef/entity-framework-version-must-match-net.md)]
52
52
53
53
## MSBuild
54
54
55
-
[!include[ResolveAssemblyReference task now warns of dependencies with the wrong architecture](~/includes/migration-guide/retargeting/msbuild/resolveassemblyreference-task-now-warns-dependencies-with-wrong-architecture.md)]
55
+
[!INCLUDE[ResolveAssemblyReference task now warns of dependencies with the wrong architecture](~/includes/migration-guide/retargeting/msbuild/resolveassemblyreference-task-now-warns-dependencies-with-wrong-architecture.md)]
56
56
57
57
## Windows Forms
58
58
59
-
[!include[EncoderParameter ctor is obsolete](~/includes/migration-guide/retargeting/winforms/encoderparameter-ctor-obsolete.md)]
59
+
[!INCLUDE[EncoderParameter ctor is obsolete](~/includes/migration-guide/retargeting/winforms/encoderparameter-ctor-obsolete.md)]
60
60
61
61
## Windows Presentation Foundation (WPF)
62
62
63
-
[!include[Two-way data-binding to a property with a non-public setter is not supported](~/includes/migration-guide/retargeting/wpf/two-way-data-binding-property-with-non-public-setter-not-supported.md)]
63
+
[!INCLUDE[Two-way data-binding to a property with a non-public setter is not supported](~/includes/migration-guide/retargeting/wpf/two-way-data-binding-property-with-non-public-setter-not-supported.md)]
64
64
65
-
[!include[WPF TextBox.Text can be out-of-sync with databinding](~/includes/migration-guide/retargeting/wpf/wpf-textboxtext-can-be-out-of-sync-with-databinding.md)]
65
+
[!INCLUDE[WPF TextBox.Text can be out-of-sync with databinding](~/includes/migration-guide/retargeting/wpf/wpf-textboxtext-can-be-out-of-sync-with-databinding.md)]
66
66
67
67
## Windows Workflow Foundation (WF)
68
68
69
-
[!include[New (ambiguous) Dispatcher.Invoke overloads could result in different behavior](~/includes/migration-guide/retargeting/wf/new-ambiguous-dispatcherinvoke-overloads-could-result-different-behavior.md)]
69
+
[!INCLUDE[New (ambiguous) Dispatcher.Invoke overloads could result in different behavior](~/includes/migration-guide/retargeting/wf/new-ambiguous-dispatcherinvoke-overloads-could-result-different-behavior.md)]
70
70
71
-
[!include[Some WorkFlow drag-and-drop APIs are obsolete](~/includes/migration-guide/retargeting/wf/some-workflow-drag-and-drop-apis-are-obsolete.md)]
71
+
[!INCLUDE[Some WorkFlow drag-and-drop APIs are obsolete](~/includes/migration-guide/retargeting/wf/some-workflow-drag-and-drop-apis-are-obsolete.md)]
72
72
73
-
[!include[WorkFlow 3.0 types are obsolete](~/includes/migration-guide/retargeting/wf/workflow-30-types-are-obsolete.md)]
73
+
[!INCLUDE[WorkFlow 3.0 types are obsolete](~/includes/migration-guide/retargeting/wf/workflow-30-types-are-obsolete.md)]
74
74
75
-
[!include[WorkflowDesigner.Load doesn't remove symbol property](~/includes/migration-guide/retargeting/wf/workflowdesignerload-doesnt-remove-symbol-property.md)]
75
+
[!INCLUDE[WorkflowDesigner.Load doesn't remove symbol property](~/includes/migration-guide/retargeting/wf/workflowdesignerload-doesnt-remove-symbol-property.md)]
76
76
77
77
## XML, XSLT
78
78
79
-
[!include[XML schema validation is stricter](~/includes/migration-guide/retargeting/xml/xml-schema-validation-stricter.md)]
79
+
[!INCLUDE[XML schema validation is stricter](~/includes/migration-guide/retargeting/xml/xml-schema-validation-stricter.md)]
If you are migrating from the .NET Framework 4.0 to 4.5.2, review the following topics for application compatibility issues that may affect your app:
16
16
17
17
## ADO.NET
18
18
19
-
[!include[DbParameter.Precision and DbParameter.Scale are now public virtual members](~/includes/migration-guide/retargeting/adonet/dbparameterprecision-dbparameterscale-are-now-public-virtual-members.md)]
19
+
[!INCLUDE[DbParameter.Precision and DbParameter.Scale are now public virtual members](~/includes/migration-guide/retargeting/adonet/dbparameterprecision-dbparameterscale-are-now-public-virtual-members.md)]
20
20
21
21
## ASP.NET
22
22
23
-
[!include[MachineKey.Encode and MachineKey.Decode methods are now obsolete](~/includes/migration-guide/retargeting/asp/machinekeyencode-machinekeydecode-methods-are-now-obsolete.md)]
23
+
[!INCLUDE[MachineKey.Encode and MachineKey.Decode methods are now obsolete](~/includes/migration-guide/retargeting/asp/machinekeyencode-machinekeydecode-methods-are-now-obsolete.md)]
24
24
25
-
[!include[Multi-line ASP.Net TextBox spacing changed when using AntiXSSEncoder](~/includes/migration-guide/retargeting/asp/multi-line-aspnet-textbox-spacing-changed-when-using-antixssencoder.md)]
25
+
[!INCLUDE[Multi-line ASP.Net TextBox spacing changed when using AntiXSSEncoder](~/includes/migration-guide/retargeting/asp/multi-line-aspnet-textbox-spacing-changed-when-using-antixssencoder.md)]
26
26
27
-
[!include[WebUtility.HtmlEncode and WebUtility.HtmlDecode round-trip BMP correctly](~/includes/migration-guide/retargeting/asp/webutilityhtmlencode-webutilityhtmldecode-round-trip-bmp-correctly.md)]
27
+
[!INCLUDE[WebUtility.HtmlEncode and WebUtility.HtmlDecode round-trip BMP correctly](~/includes/migration-guide/retargeting/asp/webutilityhtmlencode-webutilityhtmldecode-round-trip-bmp-correctly.md)]
28
28
29
29
## ClickOnce
30
30
31
-
[!include[Apps published with ClickOnce that use a SHA-256 code-signing certificate may fail on Windows 2003](~/includes/migration-guide/retargeting/clickonce/apps-published-with-clickonce-that-use-sha-256-code-signing-certificate-may.md)]
31
+
[!INCLUDE[Apps published with ClickOnce that use a SHA-256 code-signing certificate may fail on Windows 2003](~/includes/migration-guide/retargeting/clickonce/apps-published-with-clickonce-that-use-sha-256-code-signing-certificate-may.md)]
32
32
33
33
## Core
34
34
35
-
[!include[Foreach iterator variable is now scoped within the iteration, so closure capturing semantics are different (in C#5)](~/includes/migration-guide/retargeting/core/foreach-iterator-variable-now-scoped-within-iteration-so-closure-capturing.md)]
35
+
[!INCLUDE[Foreach iterator variable is now scoped within the iteration, so closure capturing semantics are different (in C#5)](~/includes/migration-guide/retargeting/core/foreach-iterator-variable-now-scoped-within-iteration-so-closure-capturing.md)]
36
36
37
-
[!include[IAsyncResult.CompletedSynchronously property must be correct for the resulting task to complete](~/includes/migration-guide/retargeting/core/iasyncresultcompletedsynchronously-property-must-be-correct-for-resulting.md)]
37
+
[!INCLUDE[IAsyncResult.CompletedSynchronously property must be correct for the resulting task to complete](~/includes/migration-guide/retargeting/core/iasyncresultcompletedsynchronously-property-must-be-correct-for-resulting.md)]
38
38
39
-
[!include[List<T>.ForEach can throw exception when modifying list item](~/includes/migration-guide/retargeting/core/listlttgtforeach-can-throw-exception-when-modifying-list-item.md)]
39
+
[!INCLUDE[List<T>.ForEach can throw exception when modifying list item](~/includes/migration-guide/retargeting/core/listlttgtforeach-can-throw-exception-when-modifying-list-item.md)]
40
40
41
-
[!include[ObsoleteAttribute exports as both ObsoleteAttribute and DeprecatedAttribute in WinMD scenarios](~/includes/migration-guide/retargeting/core/obsoleteattribute-exports-both-deprecatedattribute-winmd-scenarios.md)]
41
+
[!INCLUDE[ObsoleteAttribute exports as both ObsoleteAttribute and DeprecatedAttribute in WinMD scenarios](~/includes/migration-guide/retargeting/core/obsoleteattribute-exports-both-deprecatedattribute-winmd-scenarios.md)]
42
42
43
-
[!include[System.Uri parsing adheres to RFC 3987](~/includes/migration-guide/retargeting/core/systemuri-parsing-adheres-rfc-3987.md)]
43
+
[!INCLUDE[System.Uri parsing adheres to RFC 3987](~/includes/migration-guide/retargeting/core/systemuri-parsing-adheres-rfc-3987.md)]
44
44
45
-
[!include[System.Uri.IsWellFormedUriString method returns false for relative URIs with a colon char in first segment](~/includes/migration-guide/retargeting/core/systemuriiswellformeduristring-method-returns-false-for-relative-uris-with.md)]
45
+
[!INCLUDE[System.Uri.IsWellFormedUriString method returns false for relative URIs with a colon char in first segment](~/includes/migration-guide/retargeting/core/systemuriiswellformeduristring-method-returns-false-for-relative-uris-with.md)]
46
46
47
47
## Entity Framework
48
48
49
-
[!include[Building an Entity Framework edmx with Visual Studio 2013 can fail with error MSB4062 if using the EntityDeploySplit or EntityClean tasks](~/includes/migration-guide/retargeting/ef/building-an-entity-framework-edmx-with-visual-studio-2013-can-fail-error.md)]
49
+
[!INCLUDE[Building an Entity Framework edmx with Visual Studio 2013 can fail with error MSB4062 if using the EntityDeploySplit or EntityClean tasks](~/includes/migration-guide/retargeting/ef/building-an-entity-framework-edmx-with-visual-studio-2013-can-fail-error.md)]
50
50
51
-
[!include[Entity Framework version must match the .NET Framework version](~/includes/migration-guide/retargeting/ef/entity-framework-version-must-match-net.md)]
51
+
[!INCLUDE[Entity Framework version must match the .NET Framework version](~/includes/migration-guide/retargeting/ef/entity-framework-version-must-match-net.md)]
52
52
53
53
## MSBuild
54
54
55
-
[!include[ResolveAssemblyReference task now warns of dependencies with the wrong architecture](~/includes/migration-guide/retargeting/msbuild/resolveassemblyreference-task-now-warns-dependencies-with-wrong-architecture.md)]
55
+
[!INCLUDE[ResolveAssemblyReference task now warns of dependencies with the wrong architecture](~/includes/migration-guide/retargeting/msbuild/resolveassemblyreference-task-now-warns-dependencies-with-wrong-architecture.md)]
56
56
57
57
## Visual Basic .NET
58
58
59
-
[!include[VB.NET no longer supports partial namespace qualification for System.Windows APIs](~/includes/migration-guide/retargeting/vb/vbnet-no-longer-supports-partial-namespace-qualification-for-systemwindows.md)]
59
+
[!INCLUDE[VB.NET no longer supports partial namespace qualification for System.Windows APIs](~/includes/migration-guide/retargeting/vb/vbnet-no-longer-supports-partial-namespace-qualification-for-systemwindows.md)]
60
60
61
61
## Windows Forms
62
62
63
-
[!include[DataObject.GetData now retrieves data as UTF-8](~/includes/migration-guide/retargeting/winforms/dataobjectgetdata-now-retrieves-data-utf-8.md)]
63
+
[!INCLUDE[DataObject.GetData now retrieves data as UTF-8](~/includes/migration-guide/retargeting/winforms/dataobjectgetdata-now-retrieves-data-utf-8.md)]
64
64
65
-
[!include[EncoderParameter ctor is obsolete](~/includes/migration-guide/retargeting/winforms/encoderparameter-ctor-obsolete.md)]
65
+
[!INCLUDE[EncoderParameter ctor is obsolete](~/includes/migration-guide/retargeting/winforms/encoderparameter-ctor-obsolete.md)]
66
66
67
67
## Windows Presentation Foundation (WPF)
68
68
69
-
[!include[Two-way data-binding to a property with a non-public setter is not supported](~/includes/migration-guide/retargeting/wpf/two-way-data-binding-property-with-non-public-setter-not-supported.md)]
69
+
[!INCLUDE[Two-way data-binding to a property with a non-public setter is not supported](~/includes/migration-guide/retargeting/wpf/two-way-data-binding-property-with-non-public-setter-not-supported.md)]
70
70
71
-
[!include[WPF TextBox.Text can be out-of-sync with databinding](~/includes/migration-guide/retargeting/wpf/wpf-textboxtext-can-be-out-of-sync-with-databinding.md)]
71
+
[!INCLUDE[WPF TextBox.Text can be out-of-sync with databinding](~/includes/migration-guide/retargeting/wpf/wpf-textboxtext-can-be-out-of-sync-with-databinding.md)]
72
72
73
73
## Windows Workflow Foundation (WF)
74
74
75
-
[!include[New (ambiguous) Dispatcher.Invoke overloads could result in different behavior](~/includes/migration-guide/retargeting/wf/new-ambiguous-dispatcherinvoke-overloads-could-result-different-behavior.md)]
75
+
[!INCLUDE[New (ambiguous) Dispatcher.Invoke overloads could result in different behavior](~/includes/migration-guide/retargeting/wf/new-ambiguous-dispatcherinvoke-overloads-could-result-different-behavior.md)]
76
76
77
-
[!include[Some WorkFlow drag-and-drop APIs are obsolete](~/includes/migration-guide/retargeting/wf/some-workflow-drag-and-drop-apis-are-obsolete.md)]
77
+
[!INCLUDE[Some WorkFlow drag-and-drop APIs are obsolete](~/includes/migration-guide/retargeting/wf/some-workflow-drag-and-drop-apis-are-obsolete.md)]
78
78
79
-
[!include[WorkFlow 3.0 types are obsolete](~/includes/migration-guide/retargeting/wf/workflow-30-types-are-obsolete.md)]
79
+
[!INCLUDE[WorkFlow 3.0 types are obsolete](~/includes/migration-guide/retargeting/wf/workflow-30-types-are-obsolete.md)]
80
80
81
81
## XML, XSLT
82
82
83
-
[!include[XML schema validation is stricter](~/includes/migration-guide/retargeting/xml/xml-schema-validation-stricter.md)]
83
+
[!INCLUDE[XML schema validation is stricter](~/includes/migration-guide/retargeting/xml/xml-schema-validation-stricter.md)]
0 commit comments