title: "Activation context generation failed" complaint trying to add an application manifest
body: <p>I'm trying to add an application manifest that requires elevation to my .NET 2.0 EXE.
  I've done that for a simple EXE and it worked without any problems, but on this more complex EXE it's not working.</p>
  
  <p>My EXE has a config file and a lot of dependencies of other DLLs in my solution.</p>
  
  <p>When I start the EXE, I get a SideBySide error saying "<code>Activation context generation failed for "C:\MyCompany.MyProduct.WinUI.exe".Error in manifest or policy file "C:\MyCompany.MyProduct.WinUI.exe.Config" on line 1. Invalid Xml syntax.</code>"</p>
  
  <p>What does my config file have to do with the manifest file?  Here is my manifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"
                  xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
                  xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
    &lt;assemblyIdentity version="2.10.0.0" name="MyCompany.MyProduct.WinUI"/&gt;
    &lt;trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"&gt;
      &lt;security&gt;
        &lt;requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"&gt;
          &lt;requestedExecutionLevel level="requireAdministrator" uiAccess="false" /&gt;
        &lt;/requestedPrivileges&gt;
      &lt;/security&gt;
    &lt;/trustInfo&gt;
  &lt;/asmv1:assembly&gt;
  </code></pre>