The out-of-proc WME build (VC_Target_Library_Platform=Store) is broken after #319 added SpectreMitigation=Spectre due to LNK1104: cannot open file 'msvcprt.lib'.
There are no versions of Spectre-mitigated libraries for Universal Windows (UWP) apps or components.
What changed?
Only set SpectreMitigation=Spectre when VC_Target_Library_Platform=Desktop or VC_Target_Library_Platform=OneCore.
How was the change tested?
I verified that both the in-proc WME (VC_Target_Library_Platform=OneCore) and out-of-proc WME (VC_Target_Library_Platform=Store) builds are successful, and no BA2024.EnableSpectreMitigations BinSkim errors are reported for either package's binaries.
I validated the following scenarios:
Ogg playback in MediaPlayerCPP
Ogg playback in Media Player with in-proc WME and out-of-proc WME
Why is this change being made?
The out-of-proc WME build (VC_Target_Library_Platform=Store) is broken after #319 added SpectreMitigation=Spectre due to
LNK1104: cannot open file 'msvcprt.lib'
./Qspectre | Microsoft Learn
What changed?
Only set SpectreMitigation=Spectre when VC_Target_Library_Platform=Desktop or VC_Target_Library_Platform=OneCore.
How was the change tested?