title: Visual Studio C++ Windows Store Linkage error
body: <p>When I try to build Windows Store (8.1) application I get bunch of errors like:</p>
  
  <pre><code>Error   17  error C2598: linkage specification must be at global scope  d:\program files (x86)\windows kits\8.1\include\winrt\activation.h  54  1   App7
      26  IntelliSense: not a class or struct name    d:\Program Files (x86)\Windows Kits\8.1\Include\winrt\inspectable.h 100 17  App7
  </code></pre>
  
  <p>It all started when I tried to compile code which used IInspectable (xaml and directx interoop) - now I can't build any C++ Windows Store project (even clean project templates). I tried to repair and reinstall Visual Studio - it didn't help.</p>