Consider the following scenario:
- You create a Microsoft Visual C++ project in Microsoft Visual Studio 2010.
- You change the Additional Manifest Files option to support Windows 7.
Note To do this in Visual Studio 2010, 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.
81010002: Unrecognized Element "compatibility" in namespace "urn:schemas-microsoft-com:compatibility.v1"