FIX: The visual state is lost and a memory leak occurs when you unload and reload a custom control in an SWE application in WEC 2013

Introduction

This article describes an issue in which the visual state is lost and a memory leak occurs when you unload and reload a custom control in a Silverlight for Windows Embedded (SWE) application in Windows Embedded Compact 2013. An update is available to resolve this issue. Before you install this update, all previously issued updates for this product must be installed.

Symptoms

You have an SWE application that has a custom control and buttons to do the following things in Windows Embedded Compact 2013:

  • Unload control
  • Reload control
  • Set state
When you run the application, and then you click the Set state button, the custom control visual state changes (but not to the default state). If you click the Unload control button, and then you click Reload control, the visual tree visual state becomes the default state and the previous visual state is lost. Additionally, a memory leak occurs when you repeatedly remove and add the visual element.

Software update information

Download information

Windows Embedded Compact 2013 Monthly Update (December 2015) is now available from Microsoft. To download this Windows Embedded Compact 2013 monthly update, go to Microsoft OEM Online or MyOEM.

Prerequisites

This update is supported only if all previously issued updates for this product have also been installed.



Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.



Update replacement information

This update does not replace any other updates.



File information

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology that Microsoft uses to describe software updates.
Egenskaper

Artikkel-ID: 3126121 – Forrige gjennomgang: 14. feb. 2017 – Revisjon: 1

Windows Embedded Compact 2013

Tilbakemelding