Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

Assume that you have a .NET Compact Framework 3.5-based application on a Windows Embedded Compact 7-based device. If you use a generic class, for example List, in the application, you can only create an instance of this class together with 1024 unique types. When you try to create an instance of List together with the 1025th type, the application will throw an exception during the Just in Time (JIT) stage. This exception cannot be trapped by the application and leads to application termination.

To enable the fix, add the following registry key for customization:[HKEY_LOCAL_MACHINE\Software\Microsoft\.NETCompactFramework]
"MaxNumberOfGenericInstances"=dword Note If the registry key is not found, the application will use a default value of 1024.

More Information

Software update information


Download information

The Windows Embedded Compact 7 Monthly Update (March 2014) is now available from Microsoft. To download this Windows Embedded Compact 7 monthly update, go to the following Microsoft Download Center website:

Windows Embedded Compact 7 updates
The kind of processor that each file applies to is visible in the name of each file in the "File information" section.

Registry information


Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows

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.

The English version of this software update package 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.

Files that are included in this hotfix package

File name

File size

Date

Time

Path

Mscoree3_5.dll

838,816

29-Mar-2014

06:11

Others\Dotnetv35\Armv5

Mscoree3_5.rel

404,723

29-Mar-2014

06:11

Others\Dotnetv35\Armv5

Mscoree3_5.dll

838,816

29-Mar-2014

06:11

Others\Dotnetv35\Armv6

Mscoree3_5.rel

404,723

29-Mar-2014

06:11

Others\Dotnetv35\Armv6

Mscoree3_5.dll

838,816

29-Mar-2014

06:11

Others\Dotnetv35\Armv7

Mscoree3_5.rel

404,723

29-Mar-2014

06:11

Others\Dotnetv35\Armv7

Mscoree3_5.dll

604,320

29-Mar-2014

06:11

Others\Dotnetv35\X86

Mscoree3_5.rel

327,699

29-Mar-2014

06:11

Others\Dotnetv35\X86



Status

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

References

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

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.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×