title: How to include the stdafx.h from the root directory?
body: <p>With "Show all files" option on in VS, i added a folder and created a new class in that folder. Since i'm using precompiled headers i also need to include the stdafx.h that's in the root directory relative to the new class file.</p>
  
  <p>In my cpp file i have</p>
  
  <pre><code>#include "..\stdafx.h"
  </code></pre>
  
  <p>Yet I get the following error:</p>
  
  <blockquote>
    <p>error <strong>C1010</strong>: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?</p>
  </blockquote>
  
  <p>My understanding is, that the .. should instruct the compiler to go one directory level up ?</p>