title: C++/CX Header file can't find Microsoft namespace
body: <p>I have a header file with the following code:</p>
  
  <pre><code>  Microsoft::WRL:ComPtr&lt;ID3D11Device2&gt; m_device;
  </code></pre>
  
  <p>inside a class definition. Visual Studio 2013 is saying that Microsoft is not a namespace, if I take the code and cut it out and put it in another class in another file unchanged it works just fine!</p>
  
  <p>Any ideas?</p>
  
  <p>Philip</p>
  
  <p>EDIT: All of a sudden (without me having changed anything) Intelissense now accepts Microsoft::WRL::ComPtry as valid but when I compile it still gives me errors that it does not exists.</p>