title: Running Visual Studio as Administrator does not see mapped network drives
body: <p>I've a problem with the way <code>File.Exists()</code> (doesn't) work: when I use it, it claims that the file doesn't exist (from Immediate Window):</p>
  
  <pre><code>filePath
  "P:\\poolman\\LY21\\2015\\LY21_2015-03-25_03.xml"
  File.Exists(filePath)
  false
  </code></pre>
  
  <p>But if I copy/paste the file path to an explorer window url (removing the escaping <code>\</code>) <strong>it opens the file</strong>.</p>
  
  <p>So <code>File.Exists()</code> claims that an existing file doesn't exist which bug me.</p>
  
  <p>It's not about the <a href="https://stackoverflow.com/questions/11210408/file-exists-incorrectly-returns-false-when-path-is-too-long">length of the path</a> (which is 43) and <code>FileInfo</code> is not a better option as suggested <a href="https://stackoverflow.com/a/458376/2307070">here</a>.</p>
  
  <p>Here's the result of the <code>FileInfo</code> check:</p>
  
  <pre><code>var f = new FileInfo(filePath);
  {P:\poolman\LY21\2015\LY21_2015-03-25_03.xml}
      base: {P:\poolman\LY21\2015\LY21_2015-03-25_03.xml}
      _name: "LY21_2015-03-25_03.xml"
      Directory: {P:\poolman\LY21\2015}
      DirectoryName: "P:\\poolman\\LY21\\2015"
      Exists: false
      IsReadOnly: true
      Length: '(var f = new FileInfo(filePath);).Length' threw an exception of type 'System.IO.FileNotFoundException'
      Name: "LY21_2015-03-25_03.xml"
  </code></pre>
  
  <p>How could I deal with it?</p>