confused by Windows Run Time Component Directories and which .winmd file do I need to add

时间秒杀一切 提交于 2021-02-11 13:46:34

问题


I create a WindowsRuntimeComponent3 solution, batch build

then VS create a series directories as below, there are WindowsRuntimeComponent3.winmd in these different directories.

just wonder which WindowsRuntimeComponent3.winmd do I need to add?

if them one by one, it will report error

your comment welcome


回答1:


You add a reference to the project directly, and VS will take care of the CPU architecture and build flavour for you; you shouldn't need to look in those specific directories. When you add the reference, choose "Projects" instead of "Assemblies."



来源:https://stackoverflow.com/questions/61401859/confused-by-windows-run-time-component-directories-and-which-winmd-file-do-i-ne

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!