Hello,
I'm trying to compile a console application that should run on various
Windows OSs including Vista for x64. Because of Vista I need to embed a
manifest file. However using the build tool with the DDK 3790.1830 I get
an error
2>NMAKE : U1234: 'FUSION_MANIFEST_VALIDATOR' :
objfre_wnet_AMD64\amd64\regpmc.m
an(11) - Element content is invalid according to the DTD/Schema.
The manifest I try to embed is as follows
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version=SXS_ASSEMBLY_VERSION
processorArchitecture=SXS_PROCESSOR_ARCHITECTURE
name=SXS_ASSEMBLY_NAME
type="win32"
/>
<description>Port Monitor registration command line tool</description>
<asmv2:trustInfo xmlns:asmv2="urn:schemas-microsoft-com:asm.v2">
<asmv2:security>
<asmv2:requestedPrivileges>
<asmv2:requestedExecutionLevel
level="asInvoker"
uiAccess="false"/>
</asmv2:requestedPrivileges>
</asmv2:security>
</asmv2:trustInfo>
</assembly>
The problem seems to be that the validator doesn't accept the asmv2
construction. I tried to work around this by declaring the whole
assembly urn:schemas-microsoft-com:asm.v2 but this causes x64 executable
to run under Windows XP x64. Is there anyway around this?
Kind regards,
Theo