Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Textual elements may appear blank when you run an XBAP that targets the .NET Framework 3.0 or the .NET Framework 3.5 if the .NET Framework 4 is installed


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You run an XAML browser application (XBAP) on a computer that has the Microsoft .NET Framework 4 and the Microsoft .NET Framework 3.5 Service Pack 1 (SP1) installed.
  • The target framework for the application is the Microsoft .NET Framework 3.0 or the .NET Framework 3.5.
In this scenario, textual elements may appear blank in the application. 

If you try to print in the application, the application might encounter a DllNotFoundException exception and then crashes.

↑ Back to the top


Cause

This issue occurs because of a C runtime loading issue.

The .NET Framework 3.0 and the .NET Framework 3.5 use C runtime version 8.0, and the .NET Framework 4.0 uses C runtime version 10.0. When the target framework is the .NET Framework 3.0 or the .NET Framework 3.5, the application has to load the version 8.0 before load the C runtime 10.0. However, both runtimes are used for the same application. Therefore, the issue that is mentioned in the "Symptoms" section occurs.

↑ Back to the top


Resolution

To resolve this issue, apply the hotfix package that is described in the following Microsoft Knowledge Base article:

2667241 An update rollup is available for Windows Presentation Foundation (WPF) for Microsoft .NET Framework 3.5

↑ Back to the top


Status

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

↑ Back to the top


Keywords: kbqfe, kbhotfixserver, kbfix, kbexpertiseadvanced, kbsurveynew, kbhotfixdev, kb

↑ Back to the top

Article Info
Article ID : 2537599
Revision : 1
Created on : 1/7/2017
Published on : 4/10/2012
Exists online : False
Views : 199