title: Why some method doesn't work after embedding custom manifest file?
body: <p>I try to embed custom manifest file to vb.net source code in order to get Administrator level.</p>
  
  <p>But <code>Console.WriteLine</code> method does not work after embedding the manifest file.</p>
  
  <p>Target source file and manifest file is as below.</p>
  
  <pre class="lang-vb prettyprint-override"><code>' test.vb
  Module Test
    Sub Main
      Console.WriteLine("Hello")
    End Sub
  End Module
  </code></pre>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;!--manifest.xml--&gt;
  &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  
  &lt;assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"&gt;
    &lt;assemblyIdentity version="1.0.0.0" name="MyApplication.app"/&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;/assembly&gt;
  </code></pre>
  
  <p>I compile this files using Mono compiler on Windows 10.</p>
  
  <pre><code>vbc /win32manifest:manifest.xml test.vb
  </code></pre>
  
  <p>How can I solve this problem?</p>
  
  <p>Thanks!</p>