Symptoms
Consider the following scenario:
-
You create a Microsoft Visual C++ project in Microsoft Visual Studio 2008.
-
You change the Additional Manifest Files option to support Windows 7.
Note To do this in Visual Studio 2008, follow these steps:-
Open the project's Property Pages dialog box, expand the Manifest Tools node in the Configuration Properties pane, and then click Input and Output.
-
Add the following manifest file to the Additional Manifest Files option in the right-side pane:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!--The ID below indicates application support for Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>
</compatibility>
</assembly>
-
-
You try to rebuild the project to merge the manifest file.
In this scenario, you receive the following warning message:
81010002: Unrecognized Element "compatibility" in namespace "urn:schemas-microsoft-com:compatibility.v1"
Cause
This issue occurs because the Mt.exe tool that is available in the Windows software development kit (SDK) does not recognize the compatibility element in the manifest file.
Resolution
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:http://support.microsoft.com/contactus/?ws=supportNote 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 Visual Studio 2008 Service Pack 1 (SP1) installed.
Restart requirement
You do not have to restart the computer after you install the hotfix. We recommend that you close all Visual Studio 2008-related components before you install the hotfix.
File information
The global version of this hotfix 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 |
Platform |
---|---|---|---|---|---|
Mt.exe |
Not applicable |
373 |
12-Mar-2012 |
14:13 |
Not applicable |
Mt2.exe |
6.1.7716.0 |
1,091,392 |
12-Mar-2012 |
14:13 |
x64 |
Mt2.exe |
6.1.7716.0 |
883,008 |
12-Mar-2012 |
14:13 |
x86 |
More Information
For more information about the Mt.exe tool, go to the following MSDN website:
General information about the Mt.exe toolFor more information about the application manifest, go to the following MSDN website:
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.