Windows Desktop 调用 WinRT api

<Reference Include="Windows">
<HintPath>..\..\..\..\..\..\Program Files (x86)\Windows Kits\8.0\References\CommonConfiguration\Neutral\Windows.winmd</HintPath>
</Reference>html

HintPath 换成绝对路径就好 若是是相对路径 文件移动地方引用就失效了...ide

还有一篇文章中提到过另外一个方法 idea

 

 http://www.cnblogs.com/ideashooter/p/3237924.htmlhtm

 

 

http://www.hanselman.com/blog/HowToCallWinRTAPIsInWindows8FromCDesktopApplicationsWinRTDiagram.aspxblog

相关文章
相关标签/搜索