VS: Fix WinRT component references
WinRT components need to be referenced in a similar way that managed code libraries are referenced. Validate that the library reference is a WinRT component and reference it through the project.
Added test coverage. Fixed the IOT reference failing on Win10 SDK 17763 which doesn't include the extension anymore.
Fixes: #18846 (closed)
Edited by Brad King