title: External manifest seems to be unrecognized by Windows
body: <p>I am using an external manifest for a very simple program I have written, <code>program.exe</code>. I have an external manifest, <code>program.exe.1.manifest</code>, in the same directory. These are the contents:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
  &lt;assembly
      xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot;
      xmlns:asmv3=&quot;urn:schemas-microsoft-com:asm.v3&quot;
      manifestVersion=&quot;1.0&quot;
      &gt;
    &lt;assemblyIdentity
        name=&quot;TestC.Testos.TestEx&quot;
        processorArchitecture=&quot;amd64&quot;
        type=&quot;win32&quot;
        version=&quot;0.1.0.0&quot;
        /&gt;
    &lt;description&gt;TestTool&lt;/description&gt;
    &lt;file
        loadFrom=&quot;%homepath%\Desktop\source\payload.dll&quot;
        name=&quot;payload.dll&quot;
        /&gt;
  &lt;/assembly&gt;
  </code></pre>
  <p>Now, the simple program simply calls <code>LoadLibraryW(L&quot;payload.dll&quot;)</code>. The <code>payload.dll</code> is located in the <code>Windows</code> directory of the system, however, I am trying to load a version of <code>payload.dll</code> from a folder called <code>source</code> on my desktop. This works when I embed the manifest in the program directly, but does not when it is an external manifest. Why does an external manifest not work?</p>