I am developing a Windows Runtime Component with C++/WinRT.
I want to know if it is possible to add version information for the component?
For example, if we want to add version information to legacy dll file, we just add a .rc file into the project and the dll file will contain the version information.
How should I do this for a Windows Runtime Component?
If it is possible to add version information for the component
You can Right-Click the component project -> Add -> Resource, then you can add Verion information in your project. After building it, you can see the version information in the dll's property in File Explorer.
In addition, each type in a windows runtime file can be associated with a version. You can check the version attribute.
Note that, this is not the same as the DLL version information you see in File Explorer. The winmd files are not DLLs, so you can not do the same to add this kind of info to winmd file.