Applies To.NET Framework 4.5 Windows 8 Windows RT Windows Server 2012 Standard Windows Server 2012 Standard

Introduction

An update for the .NET Framework 4.5 is available. This update fixes some reliability, compatibility, stability, and performance issues. For more information about the issues that this update resolves, see the "Issues that this update resolves" section.

More Information

Download Information

Windows UpdateThis update is available from Windows Update.Microsoft Download Center To download the update, go to the following Microsoft Download Center website:DownloadDownload the package now. For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Restart requirement

You do not have to restart the computer after you apply this update if the affected files are not being used.

File information

The global version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name

File version

File size

Date

Time

presentationframework.dll

4.0.30319.19051

6,187,016

28-Nov-2012

23:53

system.activities.dll

4.0.30319.19051

1,573,368

28-Nov-2012

23:53

system.data.entity.dll

4.0.30319.19051

4,163,080

28-Nov-2012

23:53

system.data.sqlxml.dll

4.0.30319.19051

742,376

28-Nov-2012

23:53

system.identitymodel.dll

4.0.30319.19051

1,084,424

28-Nov-2012

23:53

system.runtime.serialization.dll

4.0.30319.19051

1,051,176

28-Nov-2012

23:53

system.servicemodel.activation.dll

4.0.30319.19051

203,320

28-Nov-2012

23:53

system.servicemodel.channels.dll

4.0.30319.19051

158,768

28-Nov-2012

23:53

system.servicemodel.dll

4.0.30319.19051

6,368,256

28-Nov-2012

23:53

system.windows.forms.dll

4.0.30319.19051

4,806,152

28-Nov-2012

23:53

system.xml.dll

4.0.30319.19051

2,687,944

28-Nov-2012

23:53

system.dll

4.0.30319.19051

3,448,760

28-Nov-2012

23:53

windowsbase.dll

4.0.30319.19051

1,237,488

28-Nov-2012

23:53

mscorlib.dll

4.0.30319.19051

5,171,168

28-Nov-2012

23:53

normidna.nlp

59,342

06-Jul-2012

20:03

normnfc.nlp

47,076

06-Jul-2012

20:03

normnfd.nlp

40,566

06-Jul-2012

20:03

normnfkc.nlp

67,808

06-Jul-2012

20:03

normnfkd.nlp

61,718

06-Jul-2012

20:03

aspnet_wp.exe

4.0.30319.19051

43,992

28-Nov-2012

23:53

clrjit.dll

4.0.30319.19051

451,544

28-Nov-2012

23:53

clr.dll

4.0.30319.19051

6,876,624

28-Nov-2012

23:53

corperfmonext.dll

4.0.30319.19051

131,560

28-Nov-2012

23:53

microsoft.xaml.targets

19,848

12-Oct-2012

00:36

mscordacwks.dll

4.0.30319.19051

1,299,424

28-Nov-2012

23:53

mscordbi.dll

4.0.30319.19051

1,096,672

28-Nov-2012

23:53

sos.dll

4.0.30319.19051

746,944

28-Nov-2012

23:53

system.data.entity.dll

4.0.30319.19051

4,163,080

28-Nov-2012

23:53

webengine4.dll

4.0.30319.19051

504,808

28-Nov-2012

23:53

webengine.dll

4.0.30319.19051

24,536

28-Nov-2012

23:53

presentationcore.dll

4.0.30319.19051

3,224,576

28-Nov-2012

23:53

system.data.dll

4.0.30319.19051

3,174,368

28-Nov-2012

23:53

system.printing.dll

4.0.30319.19051

342,016

28-Nov-2012

23:53

system.web.dll

4.0.30319.19051

5,418,456

28-Nov-2012

23:53

File name

File version

File size

Date

Time

presentationframework.dll

4.0.30319.18033

6,187,032

28-Nov-2012

23:51

system.activities.dll

4.0.30319.18033

1,573,352

28-Nov-2012

23:51

system.data.entity.dll

4.0.30319.18033

4,163,064

28-Nov-2012

23:51

system.data.sqlxml.dll

4.0.30319.18033

742,376

28-Nov-2012

23:51

system.identitymodel.dll

4.0.30319.18033

1,084,400

28-Nov-2012

23:51

system.runtime.serialization.dll

4.0.30319.18033

1,050,640

28-Nov-2012

23:51

system.servicemodel.activation.dll

4.0.30319.18033

203,304

28-Nov-2012

23:51

system.servicemodel.channels.dll

4.0.30319.18033

158,256

28-Nov-2012

23:51

system.servicemodel.dll

4.0.30319.18033

6,367,728

28-Nov-2012

23:51

system.windows.forms.dll

4.0.30319.18033

4,806,128

28-Nov-2012

23:51

system.xml.dll

4.0.30319.18033

2,687,968

28-Nov-2012

23:51

system.dll

4.0.30319.18033

3,448,760

28-Nov-2012

23:51

windowsbase.dll

4.0.30319.18033

1,237,472

28-Nov-2012

23:51

mscorlib.dll

4.0.30319.18033

5,171,152

28-Nov-2012

23:51

normidna.nlp

59,342

06-Jul-2012

19:47

normnfc.nlp

47,076

06-Jul-2012

19:47

normnfd.nlp

40,566

06-Jul-2012

19:47

normnfkc.nlp

67,808

06-Jul-2012

19:47

normnfkd.nlp

61,718

06-Jul-2012

19:47

aspnet_wp.exe

4.0.30319.18033

43,992

28-Nov-2012

23:51

clrjit.dll

4.0.30319.18033

451,528

28-Nov-2012

23:51

clr.dll

4.0.30319.18033

6,876,624

28-Nov-2012

23:51

corperfmonext.dll

4.0.30319.18033

131,560

28-Nov-2012

23:51

microsoft.xaml.targets

19,848

12-Oct-2012

00:36

mscordacwks.dll

4.0.30319.18033

1,299,424

28-Nov-2012

23:51

mscordbi.dll

4.0.30319.18033

1,096,656

28-Nov-2012

23:51

sos.dll

4.0.30319.18033

746,944

28-Nov-2012

23:51

system.data.entity.dll

4.0.30319.18033

4,163,064

28-Nov-2012

23:51

webengine4.dll

4.0.30319.18033

504,792

28-Nov-2012

23:51

webengine.dll

4.0.30319.18033

24,536

28-Nov-2012

23:51

presentationcore.dll

4.0.30319.18033

3,224,560

28-Nov-2012

23:51

system.data.dll

4.0.30319.18033

3,174,368

28-Nov-2012

23:51

system.printing.dll

4.0.30319.18033

342,016

28-Nov-2012

23:51

system.web.dll

4.0.30319.18033

5,418,456

28-Nov-2012

23:51

File name

File version

File size

Date

Time

mscorlib.dll

4.0.30319.19051

5,120,464

28-Nov-2012

23:54

normidna.nlp

59,342

06-Jul-2012

20:02

normnfc.nlp

47,076

06-Jul-2012

20:02

normnfd.nlp

40,566

06-Jul-2012

20:02

normnfkc.nlp

67,808

06-Jul-2012

20:02

normnfkd.nlp

61,718

06-Jul-2012

20:02

aspnet_wp.exe

4.0.30319.19051

48,616

28-Nov-2012

23:54

clrjit.dll

4.0.30319.19051

1,236,936

28-Nov-2012

23:54

clr.dll

4.0.30319.19051

9,803,728

28-Nov-2012

23:54

corperfmonext.dll

4.0.30319.19051

157,160

28-Nov-2012

23:54

microsoft.xaml.targets

19,848

12-Oct-2012

00:36

mscordacwks.dll

4.0.30319.19051

1,742,832

28-Nov-2012

23:54

mscordbi.dll

4.0.30319.19051

1,497,056

28-Nov-2012

23:54

presentationframework.dll

4.0.30319.19051

6,187,016

28-Nov-2012

23:54

sos.dll

4.0.30319.19051

785,360

28-Nov-2012

23:54

system.activities.dll

4.0.30319.19051

1,573,368

28-Nov-2012

23:54

system.data.entity.dll

4.0.30319.19051

4,163,080

28-Nov-2012

23:54

system.data.sqlxml.dll

4.0.30319.19051

742,376

28-Nov-2012

23:54

system.identitymodel.dll

4.0.30319.19051

1,084,424

28-Nov-2012

23:54

system.runtime.serialization.dll

4.0.30319.19051

1,051,176

28-Nov-2012

23:54

system.servicemodel.activation.dll

4.0.30319.19051

203,320

28-Nov-2012

23:54

system.servicemodel.channels.dll

4.0.30319.19051

158,768

28-Nov-2012

23:54

system.servicemodel.dll

4.0.30319.19051

6,368,256

28-Nov-2012

23:54

system.windows.forms.dll

4.0.30319.19051

4,806,152

28-Nov-2012

23:54

system.xml.dll

4.0.30319.19051

2,687,944

28-Nov-2012

23:54

system.dll

4.0.30319.19051

3,448,760

28-Nov-2012

23:54

webengine4.dll

4.0.30319.19051

617,944

28-Nov-2012

23:54

webengine.dll

4.0.30319.19051

26,584

28-Nov-2012

23:54

windowsbase.dll

4.0.30319.19051

1,237,488

28-Nov-2012

23:54

presentationcore.dll

4.0.30319.19051

3,207,664

28-Nov-2012

23:54

system.data.dll

4.0.30319.19051

3,203,552

28-Nov-2012

23:54

system.printing.dll

4.0.30319.19051

342,016

28-Nov-2012

23:54

system.web.dll

4.0.30319.19051

5,413,336

28-Nov-2012

23:54

presentationframework.dll

4.0.30319.19051

6,187,016

28-Nov-2012

23:53

system.activities.dll

4.0.30319.19051

1,573,368

28-Nov-2012

23:53

system.data.entity.dll

4.0.30319.19051

4,163,080

28-Nov-2012

23:53

system.data.sqlxml.dll

4.0.30319.19051

742,376

28-Nov-2012

23:53

system.identitymodel.dll

4.0.30319.19051

1,084,424

28-Nov-2012

23:53

system.runtime.serialization.dll

4.0.30319.19051

1,051,176

28-Nov-2012

23:53

system.servicemodel.activation.dll

4.0.30319.19051

203,320

28-Nov-2012

23:53

system.servicemodel.channels.dll

4.0.30319.19051

158,768

28-Nov-2012

23:53

system.servicemodel.dll

4.0.30319.19051

6,368,256

28-Nov-2012

23:53

system.windows.forms.dll

4.0.30319.19051

4,806,152

28-Nov-2012

23:53

system.xml.dll

4.0.30319.19051

2,687,944

28-Nov-2012

23:53

system.dll

4.0.30319.19051

3,448,760

28-Nov-2012

23:53

windowsbase.dll

4.0.30319.19051

1,237,488

28-Nov-2012

23:53

mscorlib.dll

4.0.30319.19051

5,171,168

28-Nov-2012

23:53

normidna.nlp

59,342

06-Jul-2012

20:03

normnfc.nlp

47,076

06-Jul-2012

20:03

normnfd.nlp

40,566

06-Jul-2012

20:03

normnfkc.nlp

67,808

06-Jul-2012

20:03

normnfkd.nlp

61,718

06-Jul-2012

20:03

aspnet_wp.exe

4.0.30319.19051

43,992

28-Nov-2012

23:53

clrjit.dll

4.0.30319.19051

451,544

28-Nov-2012

23:53

clr.dll

4.0.30319.19051

6,876,624

28-Nov-2012

23:53

corperfmonext.dll

4.0.30319.19051

131,560

28-Nov-2012

23:53

microsoft.xaml.targets

19,848

12-Oct-2012

00:36

mscordacwks.dll

4.0.30319.19051

1,299,424

28-Nov-2012

23:53

mscordbi.dll

4.0.30319.19051

1,096,672

28-Nov-2012

23:53

sos.dll

4.0.30319.19051

746,944

28-Nov-2012

23:53

system.data.entity.dll

4.0.30319.19051

4,163,080

28-Nov-2012

23:53

webengine4.dll

4.0.30319.19051

504,808

28-Nov-2012

23:53

webengine.dll

4.0.30319.19051

24,536

28-Nov-2012

23:53

presentationcore.dll

4.0.30319.19051

3,224,576

28-Nov-2012

23:53

system.data.dll

4.0.30319.19051

3,174,368

28-Nov-2012

23:53

system.printing.dll

4.0.30319.19051

342,016

28-Nov-2012

23:53

system.web.dll

4.0.30319.19051

5,418,456

28-Nov-2012

23:53

File name

File version

File size

Date

Time

mscorlib.dll

4.0.30319.18033

5,120,464

28-Nov-2012

23:52

normidna.nlp

59,342

06-Jul-2012

20:22

normnfc.nlp

47,076

06-Jul-2012

20:22

normnfd.nlp

40,566

06-Jul-2012

20:22

normnfkc.nlp

67,808

06-Jul-2012

20:22

normnfkd.nlp

61,718

06-Jul-2012

20:22

aspnet_wp.exe

4.0.30319.18033

48,600

28-Nov-2012

23:52

clrjit.dll

4.0.30319.18033

1,236,936

28-Nov-2012

23:52

clr.dll

4.0.30319.18033

9,802,688

28-Nov-2012

23:52

corperfmonext.dll

4.0.30319.18033

157,152

28-Nov-2012

23:52

microsoft.xaml.targets

19,848

12-Oct-2012

00:36

mscordacwks.dll

4.0.30319.18033

1,742,816

28-Nov-2012

23:52

mscordbi.dll

4.0.30319.18033

1,497,040

28-Nov-2012

23:52

presentationframework.dll

4.0.30319.18033

6,187,032

28-Nov-2012

23:52

sos.dll

4.0.30319.18033

785,344

28-Nov-2012

23:52

system.activities.dll

4.0.30319.18033

1,573,352

28-Nov-2012

23:52

system.data.entity.dll

4.0.30319.18033

4,163,064

28-Nov-2012

23:52

system.data.sqlxml.dll

4.0.30319.18033

742,376

28-Nov-2012

23:52

system.identitymodel.dll

4.0.30319.18033

1,084,400

28-Nov-2012

23:52

system.runtime.serialization.dll

4.0.30319.18033

1,050,640

28-Nov-2012

23:52

system.servicemodel.activation.dll

4.0.30319.18033

203,304

28-Nov-2012

23:52

system.servicemodel.channels.dll

4.0.30319.18033

158,256

28-Nov-2012

23:52

system.servicemodel.dll

4.0.30319.18033

6,367,728

28-Nov-2012

23:52

system.windows.forms.dll

4.0.30319.18033

4,806,128

28-Nov-2012

23:52

system.xml.dll

4.0.30319.18033

2,687,968

28-Nov-2012

23:52

system.dll

4.0.30319.18033

3,448,760

28-Nov-2012

23:52

webengine4.dll

4.0.30319.18033

617,960

28-Nov-2012

23:52

webengine.dll

4.0.30319.18033

26,584

28-Nov-2012

23:52

windowsbase.dll

4.0.30319.18033

1,237,472

28-Nov-2012

23:52

presentationcore.dll

4.0.30319.18033

3,207,664

28-Nov-2012

23:52

system.data.dll

4.0.30319.18033

3,203,552

28-Nov-2012

23:52

system.printing.dll

4.0.30319.18033

342,000

28-Nov-2012

23:52

system.web.dll

4.0.30319.18033

5,413,336

28-Nov-2012

23:52

presentationframework.dll

4.0.30319.18033

6,187,032

28-Nov-2012

23:51

system.activities.dll

4.0.30319.18033

1,573,352

28-Nov-2012

23:51

system.data.entity.dll

4.0.30319.18033

4,163,064

28-Nov-2012

23:51

system.data.sqlxml.dll

4.0.30319.18033

742,376

28-Nov-2012

23:51

system.identitymodel.dll

4.0.30319.18033

1,084,400

28-Nov-2012

23:51

system.runtime.serialization.dll

4.0.30319.18033

1,050,640

28-Nov-2012

23:51

system.servicemodel.activation.dll

4.0.30319.18033

203,304

28-Nov-2012

23:51

system.servicemodel.channels.dll

4.0.30319.18033

158,256

28-Nov-2012

23:51

system.servicemodel.dll

4.0.30319.18033

6,367,728

28-Nov-2012

23:51

system.windows.forms.dll

4.0.30319.18033

4,806,128

28-Nov-2012

23:51

system.xml.dll

4.0.30319.18033

2,687,968

28-Nov-2012

23:51

system.dll

4.0.30319.18033

3,448,760

28-Nov-2012

23:51

windowsbase.dll

4.0.30319.18033

1,237,472

28-Nov-2012

23:51

mscorlib.dll

4.0.30319.18033

5,171,152

28-Nov-2012

23:51

normidna.nlp

59,342

06-Jul-2012

19:47

normnfc.nlp

47,076

06-Jul-2012

19:47

normnfd.nlp

40,566

06-Jul-2012

19:47

normnfkc.nlp

67,808

06-Jul-2012

19:47

normnfkd.nlp

61,718

06-Jul-2012

19:47

aspnet_wp.exe

4.0.30319.18033

43,992

28-Nov-2012

23:51

clrjit.dll

4.0.30319.18033

451,528

28-Nov-2012

23:51

clr.dll

4.0.30319.18033

6,876,624

28-Nov-2012

23:51

corperfmonext.dll

4.0.30319.18033

131,560

28-Nov-2012

23:51

microsoft.xaml.targets

19,848

12-Oct-2012

00:36

mscordacwks.dll

4.0.30319.18033

1,299,424

28-Nov-2012

23:51

mscordbi.dll

4.0.30319.18033

1,096,656

28-Nov-2012

23:51

sos.dll

4.0.30319.18033

746,944

28-Nov-2012

23:51

system.data.entity.dll

4.0.30319.18033

4,163,064

28-Nov-2012

23:51

webengine4.dll

4.0.30319.18033

504,792

28-Nov-2012

23:51

webengine.dll

4.0.30319.18033

24,536

28-Nov-2012

23:51

presentationcore.dll

4.0.30319.18033

3,224,560

28-Nov-2012

23:51

system.data.dll

4.0.30319.18033

3,174,368

28-Nov-2012

23:51

system.printing.dll

4.0.30319.18033

342,016

28-Nov-2012

23:51

system.web.dll

4.0.30319.18033

5,418,456

28-Nov-2012

23:51

File name

File version

File size

Date

Time

mscorlib.dll

4.0.30319.18033

5,163,896

28-Nov-2012

23:52

normidna.nlp

59,342

06-Jul-2012

20:19

normnfc.nlp

47,076

06-Jul-2012

20:19

normnfd.nlp

40,566

06-Jul-2012

20:19

normnfkc.nlp

67,808

06-Jul-2012

20:19

normnfkd.nlp

61,718

06-Jul-2012

20:19

clrjit.dll

4.0.30319.18033

573,808

28-Nov-2012

23:52

clr.dll

4.0.30319.18033

6,697,328

28-Nov-2012

23:51

corperfmonext.dll

4.0.30319.18033

121,216

28-Nov-2012

23:52

mscordacwks.dll

4.0.30319.18033

1,291,136

28-Nov-2012

23:52

mscordbi.dll

4.0.30319.18033

1,076,600

28-Nov-2012

23:52

sos.dll

4.0.30319.18033

631,152

28-Nov-2012

23:52

system.data.dll

4.0.30319.18033

3,136,896

28-Nov-2012

23:52

system.web.dll

4.0.30319.18033

5,410,680

28-Nov-2012

23:52

system.activities.dll

4.0.30319.18033

1,573,352

28-Nov-2012

23:52

system.data.sqlxml.dll

4.0.30319.18033

742,376

28-Nov-2012

23:52

system.identitymodel.dll

4.0.30319.18033

1,084,400

28-Nov-2012

23:52

system.runtime.serialization.dll

4.0.30319.18033

1,050,640

28-Nov-2012

23:52

system.servicemodel.dll

4.0.30319.18033

6,367,728

28-Nov-2012

23:52

system.windows.forms.dll

4.0.30319.18033

4,806,128

28-Nov-2012

23:52

system.xml.dll

4.0.30319.18033

2,687,968

28-Nov-2012

23:52

system.dll

4.0.30319.18033

3,448,760

28-Nov-2012

23:52

Issues that this update resolves

Windows Presentation Foundation (WPF)Issue 1Assume that you implement the ICommand interface, and then you perform one of the following operations:

  • You delegate the CanExecuteChanged event to a different object.

  • You raise the CanExecuteChanged event together with the sender parameter, and the parameter is set to a different object or to null.

In this situation, listeners of your CanExecuteChanged event do not receive the event. The following are typical symptoms of this behavior:

  • Buttons, MenuItems, or Hyperlinks do not change their IsEnabled state.

  • Buttons, MenuItems, or Hyperlinks do not respond to mouse-clicks or to keyboard input.

Issue 2Consider the following scenario:

  • You set the focus on a cell at the edge of a DataGrid (for example, on a cell in the top or bottom row, or on a cell in the leftmost or rightmost column).

  • You press the arrow key that corresponds to the edge column (for example, you press Up from a cell in the top row).

  • The cell contains a focusable element (for example, a TextBox, Hyperlink, Button, or CheckBox element).

In this scenario, the focus moves to the focusable element. However, the focus is expected to remain on the DataGrid cell.Issue 3Consider the following scenario:

  • You create a custom panel that implements the IScrollInfo interface.

  • The VerticalOffset property returns a value that exceeds the value of the ExtentHeight property.

  • The AutoScroll property is set to true.

  • You try to "auto-scroll" the panel. For example, you click the mouse button inside the panel, and then you drag the mouse to a location that is underneath the panel by performing one of the following actions:

    • You scroll the panel until it reaches the end of its content.

    • You scroll the panel until you release the mouse button.

    • You move the mouse elsewhere.

In this scenario, an infinite loop may occur. This consumes memory and may cause a System.OutOfMemoryException exception to be thrown, which causes the application to exit.Issue 4Consider the following scenario:

  • You call the ScrollIntoView method on a ListBox or a DataGrid.Note This call can occur in many ways. For example, you call the ScrollIntoView method from a handler for the SelectionChanged event.

  • There are layout tasks pending on the ListBox or on the DataGrid.

In this scenario, a System.InvalidCastException exception may cause the application to exit.Issue 5Consider the following scenario:

  • You implement the INotifyDataErrorInfo interface on an object.

  • You data-bind some properties of a UI element to the object instead of to a property of the object.

  • You deactivate the binding by performing one of the following actions:

    • You replace the binding with a different binding.

    • You overwrite the property of the UI element with a different value (if it is a one-way binding).

    • You remove the UI element from the visual tree and release all references to it.

  • Your object raises the ErrorsChanged event.

In this scenario, a System.NullReferenceException exception may cause the application to exit.

Common language runtime (CLR)Issue 1Operations that involve the Array.Sort method experience slow performance. For example, when a program tries to sort a drop-down list.Issue 2After you upgrade from the .NET Framework 4 to the .NET Framework 4.5, previously installed .NET Framework 4-based applications may crash. Additionally, you receive an error message that resembles the following:

"Common Language Runtime detected an invalid program"

Issue 3Assume that you upgrade a computer from an earlier version of the .NET Framework to the .NET Framework 4.5. Before the upgrade, there is an application that can read performance counters from ASP.NET. However, after you upgrade the .NET Framework, this feature can no longer read the performance counters from ASP.NET.Issue 4Assume that you upgrade a computer from the .NET Framework 4 to the .NET Framework 4.5. Before the upgrade, the Type.IsAssignableFrom method returns a value of true. However, after the upgrade, the method incorrectly returns a value of false.To reproduce this issue, use the following code:public class TestConstraint where T: U{ public T t;}Class Program { static void Main( string[] args ) { Type t = typeof( TestConstraint ).GetGenericArguments()[ 0 ]; Type u = typeof( TestConstraint ).GetGenericArguments()[ 1 ]; Console.WriteLine( u.IsAssignableFrom(t) );// The .NET Framework 4.0 displays "true." However, the .NET Framework 4.5 displays "false." } }Issue 5The CryptoStream class throws an ArgumentNullException exception in the .NET Framework 4.5 instead of throwing a CryptopgraphicException exception as it did in the .NET Framework 4. If a CryptoStream class tries to decrypt invalid data and is disposed of two times by using a pattern that resembles the following, the second call to the Dispose method throws an ArgumentNullException exception:using (CryptoStream cs = new CryptoStream(ms, decryptor, CryptoStreamMode.Read)){ using (StreamReader sr = new StreamReader(cs)) { }} Issue 6Assume that you upgrade an earlier version of the .NET Framework to the .NET Framework 4.5 on a computer. When you use some third-party controls on an application, you may receive a System.Security.SecurityException exception, and the application crashes.

Windows FormsIssue 1Assume that you have a .NET Framework 4.5-based Windows Form application. When you click a menu item to open a child window in the application, interactions with the menu and child windows behave incorrectly.For example, you may experience the following:

  • When you open a shortcut menu in the child window, the main window form takes the focus.

  • You cannot use mnemonics to access a menu item.

Issue 2When you set two controls to appear in the same cell as a TableLayoutPanel Windows Forms control, the two controls may be positioned in a different cell. CauseThis issue occurs because the actual positions of the controls are resolved differently in the .NET Framework 4 and the .NET Framework 4.5.Issue 3The System.Windows.Forms.FontDialog.Color property returns a Color value as the System.Drawing.SystemColors class. These color objects have names that differ from the standard color names, for example "SystemText."Standard color names are defined on the static members of the Color structure and can be recognizable not only by the .NET Framework, but also by Windows Forms.For more information about the Color structure, go to the following MSDN website:

General information about the Color structure

XMLIssue 1When you try to redefine the default XML namespace during XSL transformation, an exception is thrown. Additionally, you receive the following error message:

Cannot construct namespace declaration xmlns='uri:schema1'. Prefix '' is already mapped to namespace 'uri:schema2'.

Issue 2Assume that you use the XmlSerializer class to serialize an array of structs that implements IEnumerable interfaceexplicitly. In this situation, a System.Reflection.TargetInvocationException exception is thrown in the .NET Framework 4.5.

Network Class LibraryIssue 1Assume that you run a .NET Framework 4.5-based application that uses asynchronous APIs to read chunked responses. In this situation, the chunked responses may be read synchronously.CauseThe HttpWebRequest class lets callers read an HTTP response either synchronously or asynchronously. However, if the response is a chunked HTTP response, then parts of the response are read by using synchronous I/O (Winsock calls) even when the caller uses the asynchronous code path. In this situation, the calling thread is blocked until data is received on the network.Issue 2Assume that you have a .NET Framework 4.5-based application that communicates with a server over the Transport Layer Security/Secure Sockets Layer (TLS/SSL) protocol by using the HttpWebRequest or SslStream class. If the server requests an SSL renegotiation while the application is sending data, the application may encounter an unhandled exception and then crash.Issue 3A thread pool freezes in the HttpWebRequest class if an HTTPS request is aborted during an SSL renegotiation while a write operation is pending.CauseThis issue occurs because of a race condition that may occur when the HttpWebRequest class or the SslStream class handles SSL renegotiation. In this situation, the thread pool may create more and more threads. Additionally, the resources that are held in memory are not cleared.Issue 4Assume that you have a .NET Framework 4.5-based application that communicates with a server through a proxy. If a request is aborted and proxy authentication is being negotiated at the same time, the application may encounter an unhandled exception and then crash.CauseThis issue occurs because of an earlier fix to Thread.Abort() method processing. This fix added a function that could throw a new exception. Therefore, the Thread.Abort() method no longer throws this exception.

ASP.NETIssue 1Consider the following scenario:

  • You have an ASP.NET web application that displays different content based on the language setting of the browser.

  • A user uses Internet Explorer 10 on a Traditional Chinese version of Windows 8 to browse to that web application.

In this scenario, the web application does not display the Traditional Chinese version of the content to the user.Issue 2When you run the Perfmon.exe program on your local computer to monitor certain ASP.NET performance counters on a remote computer (for example, the Application Running performance counters), you always receive a value of 0. You receive this value even if there are several ASP.NET applications running on the remote computer.Issue 3Consider the following scenario:

  • In a Microsoft Visual Studio 2012 web site project, you add the <thead> tag into an HTML table control on an .aspx page. For example, you do the following:

    <table id="Table1" runat="server"><thead></thead></table>
  • You try to build the whole web site.

In this scenario, you receive a compilation error that resembles the following:

"The best overloaded method match for 'System.Web.UI.HtmlControls.HtmlTableRowCollection.Add(System.Web.UI.HtmlControls.HtmlTableRow)' has some invalid arguments"

Issue 4Assume that you set the value of the cachedRolesInCookie property to true in your web application. Your application serializes the RolePrincipal object into the cookie, and then sends it in response. In this situation, the role cookie value is empty in the application's following request.Issue 5Consider the following scenario:

  • You have an ASP.NET web application, and the AntiXssEncoder typeis turned on in the application.

  • One of the web pages in the application has a HyperLink Web server control that uses the NavigateUrl property topoint to "mailto:xxx@contoso.com".

  • A user accesses the webpage by using his browser, and then clicks the hyperlink.

In this scenario, the user will be redirected to a page that does not exist.

Entity FrameworkIssue 1Consider the following scenario:

  • You develop an application that uses Microsoft SQL Server Compact 3.5 or SQL Server Compact 4.0 and Entity Framework in Microsoft Visual Studio 2010.

  • The application uses a "LINQ to Entities" query to perform multiple JOINstatements on the entity sets to obtain data.

  • You move the application to a computer that has the .NET Framework 4.5 installed.

  • You try to run the application.

In this scenario, the application might experience reduced performance because of the generation of SQL statements in Entity Framework that do not perform well against SQL Server Compact 3.5 or SQL Server Compact 4.0.Issue 2Consider the following scenario:

  • You run an application that queries for data by using Entity Framework on a computer that has the .NET Framework 4.5 installed.

  • The query uses "group by view" constructs.

In this scenario, you may experience poor query performance. Note This issue does not occur when the application is running in the .NET Framework 4.

Windows Workflow Foundation (WF)Issue 1Consider the following scenario:

  • You have an existing Visual Studio 2010 Activity Library project, or you create a new Activity Library project.

  • You have some resource files in the project which will be embedded into the assembly.

  • You build the project in Visual Studio 2012.

In this scenario, the build process is successful. However, the resource files are not embedded into the assembly correctly.Issue 2Consider the following scenario:

  • You create a Workflow Console Application project that is named "WorkflowConsoleApplication1."

  • You open the default workflow, and you add an argument of type string.

  • You set the default value of the new argument to a certain value, such as "example."

  • You add the following line to the code:

    [assembly:System.Windows.Markup.XmlnsDefinition("foobar", "WorkflowConsoleApplication1")]
  • You build the solution and then you try to open the default workflow again.

In this scenario, the workflow designer cannot be loade and you receive the following error message:

"Workflow Designer encountered problems with your document"

Windows Communication Foundation (WCF)Issue 1Consider the following scenario:

  • You develop a WCF service project that targets the .NET Framework 4.0 on a computer that has the .NET Framework 4.5 installed.

  • You set the value of the aspNetCompatibilityEnabled property to true in the web.config file.

  • You deploy the WCF service project on another computer that has the .NET Framework 4.0 installed.

In this scenario, a System.ServiceModel.ServiceActivationException exception is thrown.Note This issue does not occur when you deploy the WCF service project on a computer that has the .NET Framework 4.5 installed.CauseThis issue occurs because the default value of the AspNetCompatibilityRequirements attribute is NotAllowed in the .NET Framework 4.0. However, this default value is changed to Allowed in the .NET Framework 4.5.WorkaroundTo work around this issue, explicitly set the ASP.NET compatibility mode for the service on the service contract by adding the following code:

[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]

Issue 2The public API ByteStreamMessageEncoder.CreateMessage creates an XmlDictionaryReader class that uses the default XmlDictionaryReaderQuotas instead of the maximum quotas defined in XmlDictionaryReaderQuotas.Max. This may cause a System.Xml.XmlException (maximum quota exceeded) exception to occur.Issue 3When you try to access an upload stream property (for example, the HttpRequest.InputStream property)instead of a service operation, you receive the following error message:

This method or property is not supported after HttpRequest.GetBefferlessInputStream has been invoked"

Issue 4When you try to generate WCF proxiesfor ASMX services by using either the Add Service Reference dialogor the .NET Framework 4.5 Svcutil.exe utility, the generated service reference is invalid with missing types.Issue 5Consider the following scenario:

  • You create an ASP.NET MVC4 Web API project in Visual Studio 2012.

  • You add a WCF service reference in the project.

In this scenario, the Reference.cs file for the service reference is empty.CauseThis issue occurs because the DataContractSerializer class has encountered a type (Newtonsoft.Json.Linq.JToken) that it does not support. In this case, it throws an exception, and then stops generating the service reference.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.