Hotfix 2822218 is available for .NET Framework 4.5 in Windows 7 SP1, Windows Server 2008 R2 SP1, Windows Server 2008 SP2 and Windows Vista SP2

Applies to: .NET Framework 4.5Windows 7 Service Pack 1Windows Server 2008 R2 Service Pack 1 More

Introduction


This article describes hotfix 2822218 that is available for Microsoft .NET Framework 4.5.

Issue that this hotfix resolves

This hotfix corrects the assertion failure that occurs when MSBuild 4.5 tries to load a .NET Framework assembly that depends on another .NET Framework assembly at build time. For this issue, you receive the following error message:

Assert failure(PID pid, Thread: thread): Precondition failure: FAILED: !GetAssembly()->IsDomainNeutral() || pModule->GetAssembly()->IsDomainNeutral() || GetAppDomain()->IsDefaultDomain()

Note You may experience this issue if a designer is open in Microsoft Visual Studio when you try to build an application.


More Information


Hotfix Information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.


Prerequisites

To apply this hotfix, you must have Microsoft .NET Framework 4.5 installed. 

Restart requirement

You must restart the computer after you apply this hotfix if affected files are being used. We recommend that you close all .NET Framework applications before you apply this hotfix.