问题
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